Class JulLogHandler
java.lang.Object
org.jolokia.server.core.service.impl.JulLogHandler
- All Implemented Interfaces:
LogHandler
Loghandler based on
java.util.logging. FINER
is used for level DEBUG- Since:
- 17.10.13
- Author:
- roland
-
Constructor Summary
ConstructorsConstructorDescriptionJulLogHandler(String pCategory) Constructor for aLogHandlerusing java util logging -
Method Summary
-
Constructor Details
-
JulLogHandler
Constructor for aLogHandlerusing java util logging- Parameters:
pCategory- the logging category. If null, org.jolokia is used as category
-
-
Method Details
-
debug
Log a debug messages- Specified by:
debugin interfaceLogHandler- Parameters:
message- debug message
-
info
Log informal message- Specified by:
infoin interfaceLogHandler- Parameters:
message- message to log
-
error
Log an error- Specified by:
errorin interfaceLogHandler- Parameters:
message- error messaget- exception causing this error
-
isDebug
public boolean isDebug()Check whether debug is switched on- Specified by:
isDebugin interfaceLogHandler- Returns:
- true if debugging is enabled
-