Package rsp.util.logging
Class Slf4jLogReporting
- java.lang.Object
-
- rsp.util.logging.Slf4jLogReporting
-
- All Implemented Interfaces:
Log.Reporting
public final class Slf4jLogReporting extends Object implements Log.Reporting
A Slf4j logger.
-
-
Constructor Summary
Constructors Constructor Description Slf4jLogReporting(String name)
-
-
-
Constructor Detail
-
Slf4jLogReporting
public Slf4jLogReporting(String name)
-
-
Method Detail
-
trace
public void trace(Consumer<Log> logConsumer)
- Specified by:
tracein interfaceLog.Reporting
-
debug
public void debug(Consumer<Log> logConsumer)
- Specified by:
debugin interfaceLog.Reporting
-
info
public void info(Consumer<Log> logConsumer)
- Specified by:
infoin interfaceLog.Reporting
-
warn
public void warn(Consumer<Log> logConsumer)
- Specified by:
warnin interfaceLog.Reporting
-
error
public void error(Consumer<Log> logConsumer)
- Specified by:
errorin interfaceLog.Reporting
-
-