Class LogHandler

  • Direct Known Subclasses:
    JsonLogHandler, NullSandboxLogHandler

    public abstract class LogHandler
    extends Handler
    LogHandler is installed on the root logger. This parent class will filter all messages specific to the runtime so they do not get sent to the customer. This class is meant to be inherited to handle the filtered log messages appropriately.
    • Method Detail

      • init

        public void init​(Logger rootLogger)
        Initialize the LogHandler by installing it on the root logger. After this call, log messages specific to the runtime will be filtered out from being sent to the customer.
      • flush

        public abstract void flush()
        Specified by:
        flush in class Handler
      • close

        public abstract void close()
        Specified by:
        close in class Handler