程序包 com.mysql.cj.log
类 Slf4JLogger
- java.lang.Object
-
- com.mysql.cj.log.Slf4JLogger
-
-
字段概要
-
从接口继承的字段 com.mysql.cj.log.Log
LOGGER_INSTANCE_NAME
-
-
构造器概要
构造器 构造器 说明 Slf4JLogger(String name)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanisDebugEnabled()Is the 'debug' log level enabled?booleanisErrorEnabled()Is the 'error' log level enabled?booleanisFatalEnabled()Is the 'fatal' log level enabled?booleanisInfoEnabled()Is the 'info' log level enabled?booleanisTraceEnabled()Is the 'trace' log level enabled?booleanisWarnEnabled()Is the 'warn' log level enabled?voidlogDebug(Object msg)Logs the given message instance using the 'debug' levelvoidlogDebug(Object msg, Throwable thrown)Logs the given message and Throwable at the 'debug' level.voidlogError(Object msg)Logs the given message instance using the 'error' levelvoidlogError(Object msg, Throwable thrown)Logs the given message and Throwable at the 'error' level.voidlogFatal(Object msg)Logs the given message instance using the 'fatal' levelvoidlogFatal(Object msg, Throwable thrown)Logs the given message and Throwable at the 'fatal' level.voidlogInfo(Object msg)Logs the given message instance using the 'info' levelvoidlogInfo(Object msg, Throwable thrown)Logs the given message and Throwable at the 'info' level.voidlogTrace(Object msg)Logs the given message instance using the 'trace' levelvoidlogTrace(Object msg, Throwable thrown)Logs the given message and Throwable at the 'trace' level.voidlogWarn(Object msg)Logs the given message instance using the 'warn' levelvoidlogWarn(Object msg, Throwable thrown)Logs the given message and Throwable at the 'warn' level.
-
-
-
构造器详细资料
-
Slf4JLogger
public Slf4JLogger(String name)
-
-
方法详细资料
-
isDebugEnabled
public boolean isDebugEnabled()
从接口复制的说明:LogIs the 'debug' log level enabled?- 指定者:
isDebugEnabled在接口中Log- 返回:
- true if so.
-
isErrorEnabled
public boolean isErrorEnabled()
从接口复制的说明:LogIs the 'error' log level enabled?- 指定者:
isErrorEnabled在接口中Log- 返回:
- true if so.
-
isFatalEnabled
public boolean isFatalEnabled()
从接口复制的说明:LogIs the 'fatal' log level enabled?- 指定者:
isFatalEnabled在接口中Log- 返回:
- true if so.
-
isInfoEnabled
public boolean isInfoEnabled()
从接口复制的说明:LogIs the 'info' log level enabled?- 指定者:
isInfoEnabled在接口中Log- 返回:
- true if so.
-
isTraceEnabled
public boolean isTraceEnabled()
从接口复制的说明:LogIs the 'trace' log level enabled?- 指定者:
isTraceEnabled在接口中Log- 返回:
- true if so.
-
isWarnEnabled
public boolean isWarnEnabled()
从接口复制的说明:LogIs the 'warn' log level enabled?- 指定者:
isWarnEnabled在接口中Log- 返回:
- true if so.
-
logDebug
public void logDebug(Object msg)
从接口复制的说明:LogLogs the given message instance using the 'debug' level
-
logDebug
public void logDebug(Object msg, Throwable thrown)
从接口复制的说明:LogLogs the given message and Throwable at the 'debug' level.
-
logError
public void logError(Object msg)
从接口复制的说明:LogLogs the given message instance using the 'error' level
-
logError
public void logError(Object msg, Throwable thrown)
从接口复制的说明:LogLogs the given message and Throwable at the 'error' level.
-
logFatal
public void logFatal(Object msg)
从接口复制的说明:LogLogs the given message instance using the 'fatal' level
-
logFatal
public void logFatal(Object msg, Throwable thrown)
从接口复制的说明:LogLogs the given message and Throwable at the 'fatal' level.
-
logInfo
public void logInfo(Object msg)
从接口复制的说明:LogLogs the given message instance using the 'info' level
-
logInfo
public void logInfo(Object msg, Throwable thrown)
从接口复制的说明:LogLogs the given message and Throwable at the 'info' level.
-
logTrace
public void logTrace(Object msg)
从接口复制的说明:LogLogs the given message instance using the 'trace' level
-
logTrace
public void logTrace(Object msg, Throwable thrown)
从接口复制的说明:LogLogs the given message and Throwable at the 'trace' level.
-
logWarn
public void logWarn(Object msg)
从接口复制的说明:LogLogs the given message instance using the 'warn' level
-
-