public abstract class AbstractLog extends Object implements Log
限定符和类型 | 字段和说明 |
---|---|
protected boolean |
isDebugEnabled |
protected boolean |
isErrorEnabled |
protected boolean |
isFatalEnabled |
protected boolean |
isInfoEnabled |
protected boolean |
isTraceEnabled |
protected boolean |
isWarnEnabled |
protected static int |
LEVEL_DEBUG |
protected static int |
LEVEL_ERROR |
protected static int |
LEVEL_FATAL |
protected static int |
LEVEL_INFO |
protected static int |
LEVEL_TRACE |
protected static int |
LEVEL_WARN |
protected String |
tag |
构造器和说明 |
---|
AbstractLog() |
限定符和类型 | 方法和说明 |
---|---|
void |
debug(Object message) |
void |
debugf(String fmt,
Object... args) |
void |
error(Object message) |
void |
errorf(String fmt,
Object... args) |
void |
fatal(Object message) |
void |
fatalf(String fmt,
Object... args) |
void |
info(Object message) |
void |
infof(String fmt,
Object... args) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isFatalEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
protected void |
log(int level,
LogInfo info) |
protected abstract void |
log(int level,
Object message,
Throwable tx) |
Log |
setTag(String tag) |
void |
trace(Object message) |
void |
tracef(String fmt,
Object... args) |
void |
warn(Object message) |
void |
warnf(String fmt,
Object... args) |
protected boolean isFatalEnabled
protected boolean isErrorEnabled
protected boolean isWarnEnabled
protected boolean isInfoEnabled
protected boolean isDebugEnabled
protected boolean isTraceEnabled
protected static final int LEVEL_FATAL
protected static final int LEVEL_ERROR
protected static final int LEVEL_WARN
protected static final int LEVEL_INFO
protected static final int LEVEL_DEBUG
protected static final int LEVEL_TRACE
protected String tag
protected void log(int level, LogInfo info)
public boolean isDebugEnabled()
isDebugEnabled
在接口中 Log
public boolean isErrorEnabled()
isErrorEnabled
在接口中 Log
public boolean isFatalEnabled()
isFatalEnabled
在接口中 Log
public boolean isInfoEnabled()
isInfoEnabled
在接口中 Log
public boolean isTraceEnabled()
isTraceEnabled
在接口中 Log
public boolean isWarnEnabled()
isWarnEnabled
在接口中 Log
Copyright © 2017. All rights reserved.