接口 Logger

    • 方法详细资料

      • trace

        void trace(String msg)
        Logs a message with trace log level.
        参数:
        msg - log this message
      • trace

        void trace(Throwable e)
        Logs an error with trace log level.
        参数:
        e - log this cause
      • trace

        void trace(String msg,
                   Throwable e)
        Logs an error with trace log level.
        参数:
        msg - log this message
        e - log this cause
      • debug

        void debug(String msg)
        Logs a message with debug log level.
        参数:
        msg - log this message
      • debug

        void debug(Throwable e)
        Logs an error with debug log level.
        参数:
        e - log this cause
      • debug

        void debug(String msg,
                   Throwable e)
        Logs an error with debug log level.
        参数:
        msg - log this message
        e - log this cause
      • info

        void info(String msg)
        Logs a message with info log level.
        参数:
        msg - log this message
      • info

        void info(Throwable e)
        Logs an error with info log level.
        参数:
        e - log this cause
      • info

        void info(String msg,
                  Throwable e)
        Logs an error with info log level.
        参数:
        msg - log this message
        e - log this cause
      • warn

        void warn(String msg)
        Logs a message with warn log level.
        参数:
        msg - log this message
      • warn

        void warn(Throwable e)
        Logs a message with warn log level.
        参数:
        e - log this message
      • warn

        void warn(String msg,
                  Throwable e)
        Logs a message with warn log level.
        参数:
        msg - log this message
        e - log this cause
      • error

        void error(String msg)
        Logs a message with error log level.
        参数:
        msg - log this message
      • error

        void error(Throwable e)
        Logs an error with error log level.
        参数:
        e - log this cause
      • error

        void error(String msg,
                   Throwable e)
        Logs an error with error log level.
        参数:
        msg - log this message
        e - log this cause
      • isTraceEnabled

        boolean isTraceEnabled()
        Is trace logging currently enabled?
        返回:
        true if trace is enabled
      • isDebugEnabled

        boolean isDebugEnabled()
        Is debug logging currently enabled?
        返回:
        true if debug is enabled
      • isInfoEnabled

        boolean isInfoEnabled()
        Is info logging currently enabled?
        返回:
        true if info is enabled
      • isWarnEnabled

        boolean isWarnEnabled()
        Is warn logging currently enabled?
        返回:
        true if warn is enabled
      • isErrorEnabled

        boolean isErrorEnabled()
        Is error logging currently enabled?
        返回:
        true if error is enabled