Interface RemoteAppenderClient

All Superinterfaces:
AutoCloseable, Client, Closeable, Runnable
All Known Implementing Classes:
RemoteAppenderStreamClient

interface RemoteAppenderClient extends Client
A client of a ServerRunner that receives events from a remote appender.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Sets the client's logger context.

    Methods inherited from interface ch.qos.logback.core.net.server.Client

    close

    Methods inherited from interface java.lang.Runnable

    run
  • Method Details

    • setLoggerContext

      void setLoggerContext(LoggerContext lc)
      Sets the client's logger context.

      This provides the local logging context to the client's service thread, and is used as the destination for logging events received from the client.

      This method must be invoked before the Runnable.run() method.

      Parameters:
      lc - the logger context to set