Class JGroupsLogger
java.lang.Object
de.xima.fc.cluster.impl.jgroup.log.JGroupsLogger
- All Implemented Interfaces:
org.jgroups.logging.Log
Implementation of a JGroups
Log
that logs messages via sl4j
.- Since:
- 3.1.0
- Author:
- XIMA MEDIA GmbH
-
Constructor Summary
ConstructorsConstructorDescriptionJGroupsLogger
(org.slf4j.Logger logger) Creates a new JGroups logger that logs message via the givensl4j
logger. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
getLevel()
void
void
boolean
boolean
boolean
boolean
boolean
boolean
void
void
void
void
void
void
void
void
-
Constructor Details
-
JGroupsLogger
public JGroupsLogger(org.slf4j.Logger logger) Creates a new JGroups logger that logs message via the givensl4j
logger.- Parameters:
logger
- Thesl4j
logger to use for logging messages.
-
-
Method Details
-
isFatalEnabled
public boolean isFatalEnabled()- Specified by:
isFatalEnabled
in interfaceorg.jgroups.logging.Log
-
isErrorEnabled
public boolean isErrorEnabled()- Specified by:
isErrorEnabled
in interfaceorg.jgroups.logging.Log
-
isWarnEnabled
public boolean isWarnEnabled()- Specified by:
isWarnEnabled
in interfaceorg.jgroups.logging.Log
-
isInfoEnabled
public boolean isInfoEnabled()- Specified by:
isInfoEnabled
in interfaceorg.jgroups.logging.Log
-
isDebugEnabled
public boolean isDebugEnabled()- Specified by:
isDebugEnabled
in interfaceorg.jgroups.logging.Log
-
isTraceEnabled
public boolean isTraceEnabled()- Specified by:
isTraceEnabled
in interfaceorg.jgroups.logging.Log
-
trace
- Specified by:
trace
in interfaceorg.jgroups.logging.Log
-
trace
- Specified by:
trace
in interfaceorg.jgroups.logging.Log
-
trace
- Specified by:
trace
in interfaceorg.jgroups.logging.Log
-
debug
- Specified by:
debug
in interfaceorg.jgroups.logging.Log
-
debug
- Specified by:
debug
in interfaceorg.jgroups.logging.Log
-
debug
- Specified by:
debug
in interfaceorg.jgroups.logging.Log
-
info
- Specified by:
info
in interfaceorg.jgroups.logging.Log
-
info
- Specified by:
info
in interfaceorg.jgroups.logging.Log
-
warn
- Specified by:
warn
in interfaceorg.jgroups.logging.Log
-
warn
- Specified by:
warn
in interfaceorg.jgroups.logging.Log
-
warn
- Specified by:
warn
in interfaceorg.jgroups.logging.Log
-
error
- Specified by:
error
in interfaceorg.jgroups.logging.Log
-
error
- Specified by:
error
in interfaceorg.jgroups.logging.Log
-
error
- Specified by:
error
in interfaceorg.jgroups.logging.Log
-
fatal
- Specified by:
fatal
in interfaceorg.jgroups.logging.Log
-
fatal
- Specified by:
fatal
in interfaceorg.jgroups.logging.Log
-
fatal
- Specified by:
fatal
in interfaceorg.jgroups.logging.Log
-
trace
- Specified by:
trace
in interfaceorg.jgroups.logging.Log
-
setLevel
- Specified by:
setLevel
in interfaceorg.jgroups.logging.Log
-
getLevel
- Specified by:
getLevel
in interfaceorg.jgroups.logging.Log
-