Package org.jolokia.support.spring.log
Class Log4j2LogHandler
java.lang.Object
org.jolokia.support.spring.log.Log4j2LogHandler
- All Implemented Interfaces:
org.jolokia.server.core.service.api.LogHandler
public class Log4j2LogHandler
extends Object
implements org.jolokia.server.core.service.api.LogHandler
Loghandler using Log4j Version 2
- Since:
- 21.10.13
- Author:
- roland
-
Constructor Summary
ConstructorsConstructorDescriptionLog4j2LogHandler(String pCategory) Constructor for aLogHandlerusing Log4J, version 2 -
Method Summary
-
Constructor Details
-
Log4j2LogHandler
Constructor for aLogHandlerusing Log4J, version 2- Parameters:
pCategory- the logging category. If null, org.jolokia is used as category
-
-
Method Details
-
debug
- Specified by:
debugin interfaceorg.jolokia.server.core.service.api.LogHandler
-
info
- Specified by:
infoin interfaceorg.jolokia.server.core.service.api.LogHandler
-
error
- Specified by:
errorin interfaceorg.jolokia.server.core.service.api.LogHandler
-
isDebug
public boolean isDebug()- Specified by:
isDebugin interfaceorg.jolokia.server.core.service.api.LogHandler
-