| 构造器和说明 |
|---|
SLF4JLoggerImpl(Class clazz) |
SLF4JLoggerImpl(String name) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
protected org.slf4j.Logger |
getLogger() |
protected org.slf4j.Logger |
getLogger(String appName) |
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.
|
public SLF4JLoggerImpl(String name)
public SLF4JLoggerImpl(Class clazz)
protected org.slf4j.Logger getLogger()
protected org.slf4j.Logger getLogger(String appName)
public boolean isDebugEnabled()
LoggerisDebugEnabled 在接口中 Loggerpublic boolean isDebugEnabled(String appName)
LoggerisDebugEnabled 在接口中 LoggerappName - the app namepublic void debugWithApp(String appName, String message)
LoggerdebugWithApp 在接口中 LoggerappName - the app namemessage - the messagepublic void debugWithApp(String appName, String format, Object... args)
LoggerdebugWithApp 在接口中 LoggerappName - the app nameformat - the formatargs - the argspublic void debugWithApp(String appName, String message, Throwable t)
LoggerdebugWithApp 在接口中 LoggerappName - the app namemessage - the messaget - the tpublic boolean isInfoEnabled()
LoggerisInfoEnabled 在接口中 Loggerpublic boolean isInfoEnabled(String appName)
LoggerisInfoEnabled 在接口中 LoggerappName - the app namepublic void infoWithApp(String appName, String message)
LoggerinfoWithApp 在接口中 LoggerappName - the app namemessage - the messagepublic void infoWithApp(String appName, String format, Object... args)
LoggerinfoWithApp 在接口中 LoggerappName - the app nameformat - the formatargs - the argspublic void infoWithApp(String appName, String message, Throwable t)
LoggerinfoWithApp 在接口中 LoggerappName - the app namemessage - the messaget - the tpublic boolean isWarnEnabled()
LoggerisWarnEnabled 在接口中 Loggerpublic boolean isWarnEnabled(String appName)
LoggerisWarnEnabled 在接口中 LoggerappName - the app namepublic void warnWithApp(String appName, String message)
LoggerwarnWithApp 在接口中 LoggerappName - the app namemessage - the messagepublic void warnWithApp(String appName, String format, Object... args)
LoggerwarnWithApp 在接口中 LoggerappName - the app nameformat - the formatargs - the argspublic void warnWithApp(String appName, String message, Throwable t)
LoggerwarnWithApp 在接口中 LoggerappName - the app namemessage - the messaget - the tpublic boolean isErrorEnabled()
LoggerisErrorEnabled 在接口中 Loggerpublic boolean isErrorEnabled(String appName)
LoggerisErrorEnabled 在接口中 LoggerappName - the app namepublic void errorWithApp(String appName, String message)
LoggererrorWithApp 在接口中 LoggerappName - the app namemessage - the messagepublic void errorWithApp(String appName, String format, Object... args)
LoggererrorWithApp 在接口中 LoggerappName - the app nameformat - the formatargs - the argsCopyright © 2008–2018 The Ant Financial. All rights reserved.