Class ConsoleLogAdapter
- java.lang.Object
-
- org.opennms.features.jmxconfiggenerator.log.ConsoleLogAdapter
-
- All Implemented Interfaces:
LogAdapter
public class ConsoleLogAdapter extends Object implements LogAdapter
The STDOUT/STERR implementation of the .
-
-
Constructor Summary
Constructors Constructor Description ConsoleLogAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(String message, Object... args)voiderror(String message, Object... args)OutputStreamgetErrorOutputStream()OutputStreamgetOutputStream()voidinfo(InputStream inputStream)voidinfo(String message, Object... args)booleanisDebugEnabled()voidsetDebug(boolean debug)voidwarn(String warnMessage, Object... args)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.features.jmxconfiggenerator.log.LogAdapter
format
-
-
-
-
Method Detail
-
warn
public void warn(String warnMessage, Object... args)
- Specified by:
warnin interfaceLogAdapter
-
error
public void error(String message, Object... args)
- Specified by:
errorin interfaceLogAdapter
-
debug
public void debug(String message, Object... args)
- Specified by:
debugin interfaceLogAdapter
-
info
public void info(String message, Object... args)
- Specified by:
infoin interfaceLogAdapter
-
info
public void info(InputStream inputStream)
- Specified by:
infoin interfaceLogAdapter
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabledin interfaceLogAdapter
-
getErrorOutputStream
public OutputStream getErrorOutputStream()
-
setDebug
public void setDebug(boolean debug)
-
getOutputStream
public OutputStream getOutputStream()
-
-