public interface WriterFactory<C,S>
LogWriter. Each of the writers
defines its own implementation, which returns the concrete writer object.
This class exists primarily to support testing: appenders are constructed with the default implementation, but tests replace with an implementation that creates a "testable" writer.
| Modifier and Type | Method and Description |
|---|---|
LogWriter |
newLogWriter(C config,
S stats,
InternalLogger logger) |
LogWriter newLogWriter(C config, S stats, InternalLogger logger)
config - A writer-specific configuration object.stats - A writer-specific statistics object.logger - Used by the writer to log its actions.Copyright © 2023. All rights reserved.