Package org.jboss.logmanager
Interface Configurator
-
- All Known Implementing Classes:
PropertyConfigurator
public interface ConfiguratorA configurator for a log manager or context.
-
-
Field Summary
Fields Modifier and Type Field Description static Logger.AttachmentKey<Configurator>ATTACHMENT_KEYThe attachment key of the chosen configurator, used to maintain a strong ref to any configured properties.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigure(InputStream inputStream)Configure the logmanager.
-
-
-
Field Detail
-
ATTACHMENT_KEY
static final Logger.AttachmentKey<Configurator> ATTACHMENT_KEY
The attachment key of the chosen configurator, used to maintain a strong ref to any configured properties.
-
-
Method Detail
-
configure
void configure(InputStream inputStream) throws IOException
Configure the logmanager.- Parameters:
inputStream- the input stream to read- Throws:
IOException- if an error occurs
-
-