Package com.caplin.streamlink
Class ConsoleLogListener
- java.lang.Object
-
- com.caplin.streamlink.ConsoleLogListener
-
- All Implemented Interfaces:
LogListener
public class ConsoleLogListener extends java.lang.Object implements LogListener
Utility class to aid debugging.
Register by calling
Logger.addListener(com.caplin.streamlink.LogListener, com.caplin.streamlink.LogLevel)
on the logger acquired fromStreamLink
-
-
Constructor Summary
Constructors Constructor Description ConsoleLogListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onLog(LogInfo info)
Called when a StreamLink log message is to be logged.
-
-
-
Method Detail
-
onLog
public void onLog(LogInfo info)
Description copied from interface:LogListener
Called when a StreamLink log message is to be logged.
- Specified by:
onLog
in interfaceLogListener
- Parameters:
info
- The LogInfo object, containing the log message text and log level.
-
-