Class Slf4jLogAdapter
- java.lang.Object
-
- org.opennms.features.jmxconfiggenerator.log.Slf4jLogAdapter
-
- All Implemented Interfaces:
LogAdapter
public class Slf4jLogAdapter extends java.lang.Object implements LogAdapter
Use this when using SLF4j logging.
-
-
Constructor Summary
Constructors Constructor Description Slf4jLogAdapter(java.lang.Class<?> clazz)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(java.lang.String message, java.lang.Object... args)
void
error(java.lang.String message, java.lang.Object... args)
void
info(java.io.InputStream inputStream)
void
info(java.lang.String message, java.lang.Object... args)
boolean
isDebugEnabled()
void
warn(java.lang.String warnMessage, java.lang.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(java.lang.String warnMessage, java.lang.Object... args)
- Specified by:
warn
in interfaceLogAdapter
-
error
public void error(java.lang.String message, java.lang.Object... args)
- Specified by:
error
in interfaceLogAdapter
-
debug
public void debug(java.lang.String message, java.lang.Object... args)
- Specified by:
debug
in interfaceLogAdapter
-
info
public void info(java.lang.String message, java.lang.Object... args)
- Specified by:
info
in interfaceLogAdapter
-
info
public void info(java.io.InputStream inputStream)
- Specified by:
info
in interfaceLogAdapter
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled
in interfaceLogAdapter
-
-