public class JCLogger extends AbstractLogAdapter implements org.apache.commons.logging.Log
| Modifier and Type | Method and Description |
|---|---|
void |
debug(Object message) |
void |
debug(Object message,
Throwable t) |
void |
error(Object message) |
void |
error(Object message,
Throwable t) |
void |
fatal(Object message) |
void |
fatal(Object message,
Throwable t) |
void |
info(Object message) |
void |
info(Object message,
Throwable t) |
ILogger |
initialize(String loggerName,
ILogConfig config)
初始化日志记录器,并提供默认记录级别
|
void |
trace(Object message) |
void |
trace(Object message,
Throwable t) |
void |
warn(Object message) |
void |
warn(Object message,
Throwable t) |
buildEx, contains, debug, debug, debug, destroy, error, error, error, fatal, fatal, fatal, getLevel, getLogger, getLoggerName, info, info, info, isDebugEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isInitialized, isTraceEnabled, isWarnEnabled, log, log, log, logWrite, trace, trace, trace, warn, warn, warnbuildMakeCallerInfo, buildMakeStackInfo, buildSimplePackageName, depth, expublic void debug(Object message)
debug in interface org.apache.commons.logging.Logpublic void debug(Object message, Throwable t)
debug in interface org.apache.commons.logging.Logpublic void error(Object message)
error in interface org.apache.commons.logging.Logpublic void error(Object message, Throwable t)
error in interface org.apache.commons.logging.Logpublic void fatal(Object message)
fatal in interface org.apache.commons.logging.Logpublic void fatal(Object message, Throwable t)
fatal in interface org.apache.commons.logging.Logpublic void info(Object message)
info in interface org.apache.commons.logging.Logpublic void info(Object message, Throwable t)
info in interface org.apache.commons.logging.Logpublic ILogger initialize(String loggerName, ILogConfig config) throws Exception
ILoggerinitialize in interface ILoggerinitialize in class AbstractLogAdapterloggerName - 日志记录名称config - 日志配置Exception - 初始化时可能产生的异常public void trace(Object message)
trace in interface org.apache.commons.logging.Logpublic void trace(Object message, Throwable t)
trace in interface org.apache.commons.logging.Logpublic void warn(Object message)
warn in interface org.apache.commons.logging.LogCopyright © 2022. All rights reserved.