Package org.jgroups.logging
Class JDKLogImpl
java.lang.Object
org.jgroups.logging.JDKLogImpl
- All Implemented Interfaces:
Log
Logger that delivers messages to a JDK logger
- Since:
- 2.8
- Author:
- Manik Surtani, Bela Ban
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidgetLevel()voidvoidbooleanbooleanbooleanbooleanbooleanbooleanvoidSets the level of a logger.voidvoidvoidvoidvoidvoid
-
Constructor Details
-
JDKLogImpl
-
JDKLogImpl
-
-
Method Details
-
isTraceEnabled
public boolean isTraceEnabled()- Specified by:
isTraceEnabledin interfaceLog
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabledin interfaceLog
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabledin interfaceLog
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabledin interfaceLog
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabledin interfaceLog
-
isFatalEnabled
public boolean isFatalEnabled()- Specified by:
isFatalEnabledin interfaceLog
-
trace
-
trace
-
debug
-
info
-
warn
-
error
-
fatal
-
trace
-
trace
-
debug
-
info
-
warn
-
error
-
fatal
-
getLevel
-
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.
-