Class ConsoleLogListener

java.lang.Object
com.caplin.streamlink.ConsoleLogListener
All Implemented Interfaces:
LogListener

public class ConsoleLogListener extends 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 from StreamLink

  • Constructor Details

    • ConsoleLogListener

      public ConsoleLogListener()
  • Method Details

    • 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 interface LogListener
      Parameters:
      info - The LogInfo object, containing the log message text and log level.