public abstract class AbstractLog extends Object implements Log, Serializable
Constructor and Description |
---|
AbstractLog() |
Modifier and Type | Method and Description |
---|---|
void |
debug(String format,
Object... arguments)
打印 DEBUG 等级的日志
|
void |
debug(Throwable t)
打印 DEBUG 等级的日志
|
void |
debug(Throwable t,
String format,
Object... arguments)
打印 DEBUG 等级的日志
|
void |
error(String format,
Object... arguments)
打印 ERROR 等级的日志
|
void |
error(Throwable t)
打印 ERROR 等级的日志
|
void |
error(Throwable t,
String format,
Object... arguments)
打印 ERROR 等级的日志
|
void |
info(String format,
Object... arguments)
打印 INFO 等级的日志
|
void |
info(Throwable t)
打印 INFO 等级的日志
|
void |
info(Throwable t,
String format,
Object... arguments)
打印 INFO 等级的日志
|
boolean |
isEnabled(Level level)
是否开启指定日志
|
void |
log(Level level,
String format,
Object... arguments)
打印指定级别的日志
|
void |
log(Level level,
Throwable t,
String format,
Object... arguments)
打印 指定级别的日志
|
void |
trace(String format,
Object... arguments)
打印 TRACE 等级的日志
|
void |
trace(Throwable t)
打印 TRACE 等级的日志
|
void |
trace(Throwable t,
String format,
Object... arguments)
打印 TRACE 等级的日志
|
void |
warn(String format,
Object... arguments)
打印 WARN 等级的日志
|
void |
warn(Throwable t)
打印 WARN 等级的日志
|
void |
warn(Throwable t,
String format,
Object... arguments)
打印 WARN 等级的日志
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isTraceEnabled, trace
debug, isDebugEnabled
info, isInfoEnabled
isWarnEnabled, warn
error, isErrorEnabled
public void trace(String format, Object... arguments)
TraceLog
public void trace(Throwable t, String format, Object... arguments)
TraceLog
public void debug(String format, Object... arguments)
DebugLog
public void debug(Throwable t, String format, Object... arguments)
DebugLog
public void info(String format, Object... arguments)
InfoLog
public void info(Throwable t, String format, Object... arguments)
InfoLog
public void warn(String format, Object... arguments)
WarnLog
public void warn(Throwable t, String format, Object... arguments)
WarnLog
public void error(String format, Object... arguments)
ErrorLog
public void error(Throwable t, String format, Object... arguments)
ErrorLog
public void log(Level level, String format, Object... arguments)
Log
Copyright © 2024. All rights reserved.