public interface Logger
| 限定符和类型 | 方法和说明 |
|---|---|
void |
debug(String message)
Debug.
|
void |
debug(String format,
Object... args)
Debug.
|
void |
debug(String message,
Throwable t)
Debug.
|
void |
debugWithApp(String appName,
String message)
Debug with app.
|
void |
debugWithApp(String appName,
String format,
Object... args)
Debug with app.
|
void |
debugWithApp(String appName,
String message,
Throwable t)
Debug with app.
|
void |
error(String message)
Error.
|
void |
error(String format,
Object... args)
Error.
|
void |
error(String message,
Throwable t)
Error.
|
void |
errorWithApp(String appName,
String message)
Error with app.
|
void |
errorWithApp(String appName,
String format,
Object... args)
Error with app.
|
void |
errorWithApp(String appName,
String message,
Throwable t)
Error with app.
|
String |
getName()
Gets name.
|
void |
info(String message)
Info.
|
void |
info(String format,
Object... args)
Info.
|
void |
info(String message,
Throwable t)
Info.
|
void |
infoWithApp(String appName,
String message)
Info with app.
|
void |
infoWithApp(String appName,
String format,
Object... args)
Info with app.
|
void |
infoWithApp(String appName,
String message,
Throwable t)
Info with app.
|
boolean |
isDebugEnabled()
Is debug enabled boolean.
|
boolean |
isDebugEnabled(String appName)
Is debug enabled boolean.
|
boolean |
isErrorEnabled()
Is error enabled boolean.
|
boolean |
isErrorEnabled(String appName)
Is error enabled boolean.
|
boolean |
isInfoEnabled()
Is info enabled boolean.
|
boolean |
isInfoEnabled(String appName)
Is info enabled boolean.
|
boolean |
isWarnEnabled()
Is warn enabled boolean.
|
boolean |
isWarnEnabled(String appName)
Is warn enabled boolean.
|
void |
warn(String message)
Warn.
|
void |
warn(String format,
Object... args)
Warn.
|
void |
warn(String message,
Throwable t)
Warn.
|
void |
warnWithApp(String appName,
String message)
Warn with app.
|
void |
warnWithApp(String appName,
String format,
Object... args)
Warn with app.
|
void |
warnWithApp(String appName,
String message,
Throwable t)
Warn with app.
|
String getName()
boolean isDebugEnabled()
void debug(String message)
message - the messageboolean isDebugEnabled(String appName)
appName - the app namevoid debugWithApp(String appName, String message)
appName - the app namemessage - the messagevoid debugWithApp(String appName, String format, Object... args)
appName - the app nameformat - the formatargs - the argsvoid debugWithApp(String appName, String message, Throwable t)
appName - the app namemessage - the messaget - the tboolean isInfoEnabled()
void info(String message)
message - the messageboolean isInfoEnabled(String appName)
appName - the app namevoid infoWithApp(String appName, String message)
appName - the app namemessage - the messagevoid infoWithApp(String appName, String format, Object... args)
appName - the app nameformat - the formatargs - the argsvoid infoWithApp(String appName, String message, Throwable t)
appName - the app namemessage - the messaget - the tboolean isWarnEnabled()
void warn(String message)
message - the messageboolean isWarnEnabled(String appName)
appName - the app namevoid warnWithApp(String appName, String message)
appName - the app namemessage - the messagevoid warnWithApp(String appName, String format, Object... args)
appName - the app nameformat - the formatargs - the argsvoid warnWithApp(String appName, String message, Throwable t)
appName - the app namemessage - the messaget - the tboolean isErrorEnabled()
void error(String message)
message - the messageboolean isErrorEnabled(String appName)
appName - the app namevoid errorWithApp(String appName, String message)
appName - the app namemessage - the messagevoid errorWithApp(String appName, String format, Object... args)
appName - the app nameformat - the formatargs - the argsCopyright © 2008–2018 The Ant Financial. All rights reserved.