类 Log


  • public class Log
    extends Object
    公共日志类 Public Log Class
    作者:
    tag 2018/12/18
    • 构造器详细资料

      • Log

        public Log()
    • 方法详细资料

      • debug

        public static void debug​(String msg)
        提供debug级别基本的日志输出
        参数:
        msg - 需要显示的消息
      • debug

        public static void debug​(String msg,
                                 Object... objs)
      • debug

        public static void debug​(String msg,
                                 Throwable throwable)
        提供debug级别基本的日志输出
        参数:
        msg - 需要显示的消息
        throwable - 异常信息
      • info

        public static void info​(String msg)
        提供info级别基本的日志输出
        参数:
        msg - 需要显示的消息
      • info

        public static void info​(String msg,
                                Object... objs)
      • info

        public static void info​(String msg,
                                Throwable throwable)
        提供info级别基本的日志输出
        参数:
        msg - 需要显示的消息
        throwable - 异常信息
      • warn

        public static void warn​(String msg)
        提供warn级别基本的日志输出
        参数:
        msg - 需要显示的消息
      • warn

        public static void warn​(String msg,
                                Object... objs)
      • warn

        public static void warn​(String msg,
                                Throwable throwable)
        提供warn级别基本的日志输出
        参数:
        msg - 需要显示的消息
        throwable - 异常信息
      • error

        public static void error​(String msg)
        提供error级别基本的日志输出
        参数:
        msg - 需要显示的消息
      • error

        public static void error​(String msg,
                                 Object... objs)
      • error

        public static void error​(String msg,
                                 Throwable throwable)
        提供error级别基本的日志输出
        参数:
        msg - 需要显示的消息
        throwable - 异常信息
      • error

        public static void error​(Throwable throwable)
      • trace

        public static void trace​(String msg)
        提供trace级别基本的日志输出
        参数:
        msg - 需要显示的消息
      • trace

        public static void trace​(String msg,
                                 Throwable throwable)
        提供trace级别基本的日志输出
        参数:
        msg - 需要显示的消息
        throwable - 异常信息