Class StdoutLogHandler
java.lang.Object
org.jolokia.server.core.service.impl.StdoutLogHandler
- All Implemented Interfaces:
LogHandler
Loghandler for printing to stdout
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
StdoutLogHandler
public StdoutLogHandler(boolean pDoDebug) -
StdoutLogHandler
public StdoutLogHandler() -
StdoutLogHandler
-
-
Method Details
-
debug
Description copied from interface:LogHandlerLog a debug messages- Specified by:
debugin interfaceLogHandler- Parameters:
message- debug message
-
info
Description copied from interface:LogHandlerLog informal message- Specified by:
infoin interfaceLogHandler- Parameters:
message- message to log
-
error
Description copied from interface:LogHandlerLog an error- Specified by:
errorin interfaceLogHandler- Parameters:
message- error messaget- exception causing this error
-
isDebug
public boolean isDebug()Description copied from interface:LogHandlerCheck whether debug is switched on- Specified by:
isDebugin interfaceLogHandler- Returns:
- true if debugging is enabled
-