Package org.jgroups.logging
Class Slf4jLogImpl
java.lang.Object
org.jgroups.logging.Slf4jLogImpl
- All Implemented Interfaces:
Log
Logger that delivers messages to a SLF4J logger
- Since:
- 4.0.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSlf4jLogImpl(Class<?> clazz) Slf4jLogImpl(String category) Slf4jLogImpl(Locale locale, org.slf4j.Logger logger) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidgetLevel()voidvoidbooleanbooleanbooleanbooleanbooleanbooleanvoidSets the level of a logger.voidvoidvoidvoidvoidvoidvoid
-
Field Details
-
LEVELS
-
LOCALE
-
logger
private final org.slf4j.Logger logger -
locale
-
-
Constructor Details
-
Slf4jLogImpl
-
Slf4jLogImpl
-
Slf4jLogImpl
-
-
Method Details
-
isFatalEnabled
public boolean isFatalEnabled()- Specified by:
isFatalEnabledin interfaceLog
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabledin interfaceLog
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabledin interfaceLog
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabledin interfaceLog
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabledin interfaceLog
-
isTraceEnabled
public boolean isTraceEnabled()- Specified by:
isTraceEnabledin interfaceLog
-
fatal
-
fatal
-
fatal
-
error
-
error
-
error
-
warn
-
warn
-
warn
-
info
-
info
-
debug
-
debug
-
debug
-
trace
-
trace
-
trace
-
trace
-
setLevel
Description copied from interface:LogSets the level of a logger. This method is used to dynamically change the logging level of a running system, e.g. via JMX. The appender of a level needs to exist. -
getLevel
-