Class LogImpl

java.lang.Object
io.webfolder.cdp.command.LogImpl
All Implemented Interfaces:
Log

public class LogImpl
extends java.lang.Object
implements Log
  • Constructor Summary

    Constructors 
    Constructor Description
    LogImpl​(SessionInvocationHandler handler)  
  • Method Summary

    Modifier and Type Method Description
    void clear()
    Clears the log.
    void disable()
    Disables log domain, prevents further log entries from being reported to the client.
    void enable()
    Enables log domain, sends the entries collected so far to the client by means of the `entryAdded` notification.
    void startViolationsReport​(java.util.List<ViolationSetting> config)
    start violation reporting.
    void stopViolationsReport()
    Stop violation reporting.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • clear

      public void clear()
      Description copied from interface: Log
      Clears the log.
      Specified by:
      clear in interface Log
    • disable

      public void disable()
      Description copied from interface: Log
      Disables log domain, prevents further log entries from being reported to the client.
      Specified by:
      disable in interface Log
    • enable

      public void enable()
      Description copied from interface: Log
      Enables log domain, sends the entries collected so far to the client by means of the `entryAdded` notification.
      Specified by:
      enable in interface Log
    • startViolationsReport

      public void startViolationsReport​(java.util.List<ViolationSetting> config)
      Description copied from interface: Log
      start violation reporting.
      Specified by:
      startViolationsReport in interface Log
      Parameters:
      config - Configuration for violations.
    • stopViolationsReport

      public void stopViolationsReport()
      Description copied from interface: Log
      Stop violation reporting.
      Specified by:
      stopViolationsReport in interface Log