类 NulsLogger


  • public class NulsLogger
    extends Object
    系统日志类 System Log Class
    作者:
    tag 2018/12/18
    • 构造器详细资料

      • NulsLogger

        public NulsLogger​(ch.qos.logback.classic.Logger logger)
    • 方法详细资料

      • debug

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

        public boolean isDebugEnabled()
      • debug

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

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

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

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

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

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

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

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

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

        public void error​(Throwable throwable)
      • trace

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

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

        public ch.qos.logback.classic.Logger getLogger()
      • setLogger

        public void setLogger​(ch.qos.logback.classic.Logger logger)
      • addBasicPath

        public void addBasicPath​(String basicPath)