程序包 com.mysql.cj.log

类 Jdk14Logger

  • 所有已实现的接口:
    Log

    public class Jdk14Logger
    extends Object
    implements Log
    Logging functionality for JDK1.4
    • 字段详细资料

      • jdkLogger

        protected Logger jdkLogger
        The underlying logger from JDK-1.4
    • 构造器详细资料

    • 方法详细资料

      • isDebugEnabled

        public boolean isDebugEnabled()
        从接口复制的说明: Log
        Is the 'debug' log level enabled?
        指定者:
        isDebugEnabled 在接口中 Log
        返回:
        true if so.
      • isErrorEnabled

        public boolean isErrorEnabled()
        从接口复制的说明: Log
        Is the 'error' log level enabled?
        指定者:
        isErrorEnabled 在接口中 Log
        返回:
        true if so.
      • isFatalEnabled

        public boolean isFatalEnabled()
        从接口复制的说明: Log
        Is the 'fatal' log level enabled?
        指定者:
        isFatalEnabled 在接口中 Log
        返回:
        true if so.
      • isInfoEnabled

        public boolean isInfoEnabled()
        从接口复制的说明: Log
        Is the 'info' log level enabled?
        指定者:
        isInfoEnabled 在接口中 Log
        返回:
        true if so.
      • isTraceEnabled

        public boolean isTraceEnabled()
        从接口复制的说明: Log
        Is the 'trace' log level enabled?
        指定者:
        isTraceEnabled 在接口中 Log
        返回:
        true if so.
      • isWarnEnabled

        public boolean isWarnEnabled()
        从接口复制的说明: Log
        Is the 'warn' log level enabled?
        指定者:
        isWarnEnabled 在接口中 Log
        返回:
        true if so.
      • logDebug

        public void logDebug​(Object message)
        Logs the given message instance using the 'debug' level
        指定者:
        logDebug 在接口中 Log
        参数:
        message - the message to log
      • logDebug

        public void logDebug​(Object message,
                             Throwable exception)
        Logs the given message and Throwable at the 'debug' level.
        指定者:
        logDebug 在接口中 Log
        参数:
        message - the message to log
        exception - the throwable to log (may be null)
      • logError

        public void logError​(Object message)
        Logs the given message instance using the 'error' level
        指定者:
        logError 在接口中 Log
        参数:
        message - the message to log
      • logError

        public void logError​(Object message,
                             Throwable exception)
        Logs the given message and Throwable at the 'error' level.
        指定者:
        logError 在接口中 Log
        参数:
        message - the message to log
        exception - the throwable to log (may be null)
      • logFatal

        public void logFatal​(Object message)
        Logs the given message instance using the 'fatal' level
        指定者:
        logFatal 在接口中 Log
        参数:
        message - the message to log
      • logFatal

        public void logFatal​(Object message,
                             Throwable exception)
        Logs the given message and Throwable at the 'fatal' level.
        指定者:
        logFatal 在接口中 Log
        参数:
        message - the message to log
        exception - the throwable to log (may be null)
      • logInfo

        public void logInfo​(Object message)
        Logs the given message instance using the 'info' level
        指定者:
        logInfo 在接口中 Log
        参数:
        message - the message to log
      • logInfo

        public void logInfo​(Object message,
                            Throwable exception)
        Logs the given message and Throwable at the 'info' level.
        指定者:
        logInfo 在接口中 Log
        参数:
        message - the message to log
        exception - the throwable to log (may be null)
      • logTrace

        public void logTrace​(Object message)
        Logs the given message instance using the 'trace' level
        指定者:
        logTrace 在接口中 Log
        参数:
        message - the message to log
      • logTrace

        public void logTrace​(Object message,
                             Throwable exception)
        Logs the given message and Throwable at the 'trace' level.
        指定者:
        logTrace 在接口中 Log
        参数:
        message - the message to log
        exception - the throwable to log (may be null)
      • logWarn

        public void logWarn​(Object message)
        Logs the given message instance using the 'warn' level
        指定者:
        logWarn 在接口中 Log
        参数:
        message - the message to log
      • logWarn

        public void logWarn​(Object message,
                            Throwable exception)
        Logs the given message and Throwable at the 'warn' level.
        指定者:
        logWarn 在接口中 Log
        参数:
        message - the message to log
        exception - the throwable to log (may be null)