Package org.jboss.logmanager
Interface LogContextConfigurator
-
- All Known Implementing Classes:
PropertyLogContextConfigurator
public interface LogContextConfigurator
A configurator for a log context. A log context configurator should set up all the log categories, handlers, formatters, filters, attachments, and other constructs as specified by the configuration.
-
-
Field Summary
Fields Modifier and Type Field Description static LogContextConfigurator
EMPTY
A constant representing an empty configuration.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
configure(LogContext logContext, InputStream inputStream)
Configure the given log context according to this configurator's policy.
-
-
-
Field Detail
-
EMPTY
static final LogContextConfigurator EMPTY
A constant representing an empty configuration. The configurator does nothing.
-
-
Method Detail
-
configure
void configure(LogContext logContext, InputStream inputStream)
Configure the given log context according to this configurator's policy. If a configuration stream was provided, that is passed in to this method to be used or ignored. The stream should remain open after this method is called.- Parameters:
logContext
- the log context to configure (notnull
)inputStream
- the input stream that was requested to be used, ornull
if none was provided
-
-