类 NoOpLog

    • 方法详细资料

      • isFatalEnabled

        public boolean isFatalEnabled()
        从接口复制的说明: Log
        Is fatal logging currently enabled?

        Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than fatal.

        指定者:
        isFatalEnabled 在接口中 Log
        返回:
        true if fatal is enabled in the underlying logger.
      • isErrorEnabled

        public boolean isErrorEnabled()
        从接口复制的说明: Log
        Is error logging currently enabled?

        Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than error.

        指定者:
        isErrorEnabled 在接口中 Log
        返回:
        true if error is enabled in the underlying logger.
      • isWarnEnabled

        public boolean isWarnEnabled()
        从接口复制的说明: Log
        Is warn logging currently enabled?

        Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than warn.

        指定者:
        isWarnEnabled 在接口中 Log
        返回:
        true if warn is enabled in the underlying logger.
      • isInfoEnabled

        public boolean isInfoEnabled()
        从接口复制的说明: Log
        Is info logging currently enabled?

        Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than info.

        指定者:
        isInfoEnabled 在接口中 Log
        返回:
        true if info is enabled in the underlying logger.
      • isDebugEnabled

        public boolean isDebugEnabled()
        从接口复制的说明: Log
        Is debug logging currently enabled?

        Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than debug.

        指定者:
        isDebugEnabled 在接口中 Log
        返回:
        true if debug is enabled in the underlying logger.
      • isTraceEnabled

        public boolean isTraceEnabled()
        从接口复制的说明: Log
        Is trace logging currently enabled?

        Call this method to prevent having to perform expensive operations (for example, String concatenation) when the log level is more than trace.

        指定者:
        isTraceEnabled 在接口中 Log
        返回:
        true if trace is enabled in the underlying logger.
      • fatal

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

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

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

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

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

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

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

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

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

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

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

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