Interface RemoteAppenderClient
-
- All Superinterfaces:
java.lang.AutoCloseable
,Client
,java.io.Closeable
,java.lang.Runnable
- All Known Implementing Classes:
RemoteAppenderStreamClient
interface RemoteAppenderClient extends Client
A client of aServerRunner
that receives events from a remote appender.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setLoggerContext(LoggerContext lc)
Sets the client's logger context.
-
-
-
Method Detail
-
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
-
-