类 JclLogger

  • 所有已实现的接口:
    Logger

    public class JclLogger
    extends Object
    implements Logger
    Adaptor to commons logging, depends on commons-logging.jar. For more information about commons logging, pls. refer to http://www.apache.org/
    • 构造器详细资料

      • JclLogger

        public JclLogger​(org.apache.commons.logging.Log logger)
    • 方法详细资料

      • trace

        public void trace​(String msg)
        从接口复制的说明: Logger
        Logs a message with trace log level.
        指定者:
        trace 在接口中 Logger
        参数:
        msg - log this message
      • trace

        public void trace​(Throwable e)
        从接口复制的说明: Logger
        Logs an error with trace log level.
        指定者:
        trace 在接口中 Logger
        参数:
        e - log this cause
      • trace

        public void trace​(String msg,
                          Throwable e)
        从接口复制的说明: Logger
        Logs an error with trace log level.
        指定者:
        trace 在接口中 Logger
        参数:
        msg - log this message
        e - log this cause
      • debug

        public void debug​(String msg)
        从接口复制的说明: Logger
        Logs a message with debug log level.
        指定者:
        debug 在接口中 Logger
        参数:
        msg - log this message
      • debug

        public void debug​(Throwable e)
        从接口复制的说明: Logger
        Logs an error with debug log level.
        指定者:
        debug 在接口中 Logger
        参数:
        e - log this cause
      • debug

        public void debug​(String msg,
                          Throwable e)
        从接口复制的说明: Logger
        Logs an error with debug log level.
        指定者:
        debug 在接口中 Logger
        参数:
        msg - log this message
        e - log this cause
      • info

        public void info​(String msg)
        从接口复制的说明: Logger
        Logs a message with info log level.
        指定者:
        info 在接口中 Logger
        参数:
        msg - log this message
      • info

        public void info​(Throwable e)
        从接口复制的说明: Logger
        Logs an error with info log level.
        指定者:
        info 在接口中 Logger
        参数:
        e - log this cause
      • info

        public void info​(String msg,
                         Throwable e)
        从接口复制的说明: Logger
        Logs an error with info log level.
        指定者:
        info 在接口中 Logger
        参数:
        msg - log this message
        e - log this cause
      • warn

        public void warn​(String msg)
        从接口复制的说明: Logger
        Logs a message with warn log level.
        指定者:
        warn 在接口中 Logger
        参数:
        msg - log this message
      • warn

        public void warn​(Throwable e)
        从接口复制的说明: Logger
        Logs a message with warn log level.
        指定者:
        warn 在接口中 Logger
        参数:
        e - log this message
      • warn

        public void warn​(String msg,
                         Throwable e)
        从接口复制的说明: Logger
        Logs a message with warn log level.
        指定者:
        warn 在接口中 Logger
        参数:
        msg - log this message
        e - log this cause
      • error

        public void error​(String msg)
        从接口复制的说明: Logger
        Logs a message with error log level.
        指定者:
        error 在接口中 Logger
        参数:
        msg - log this message
      • error

        public void error​(Throwable e)
        从接口复制的说明: Logger
        Logs an error with error log level.
        指定者:
        error 在接口中 Logger
        参数:
        e - log this cause
      • error

        public void error​(String msg,
                          Throwable e)
        从接口复制的说明: Logger
        Logs an error with error log level.
        指定者:
        error 在接口中 Logger
        参数:
        msg - log this message
        e - log this cause
      • isTraceEnabled

        public boolean isTraceEnabled()
        从接口复制的说明: Logger
        Is trace logging currently enabled?
        指定者:
        isTraceEnabled 在接口中 Logger
        返回:
        true if trace is enabled
      • isDebugEnabled

        public boolean isDebugEnabled()
        从接口复制的说明: Logger
        Is debug logging currently enabled?
        指定者:
        isDebugEnabled 在接口中 Logger
        返回:
        true if debug is enabled
      • isInfoEnabled

        public boolean isInfoEnabled()
        从接口复制的说明: Logger
        Is info logging currently enabled?
        指定者:
        isInfoEnabled 在接口中 Logger
        返回:
        true if info is enabled
      • isWarnEnabled

        public boolean isWarnEnabled()
        从接口复制的说明: Logger
        Is warn logging currently enabled?
        指定者:
        isWarnEnabled 在接口中 Logger
        返回:
        true if warn is enabled
      • isErrorEnabled

        public boolean isErrorEnabled()
        从接口复制的说明: Logger
        Is error logging currently enabled?
        指定者:
        isErrorEnabled 在接口中 Logger
        返回:
        true if error is enabled