Interface RemoteAppenderClient
- All Superinterfaces:
AutoCloseable
,Client
,Closeable
,Runnable
- All Known Implementing Classes:
RemoteAppenderStreamClient
A client of a
ServerRunner
that receives events from a remote
appender.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Sets the client's logger context.
-
Method Details
-
setLoggerContext
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
-