public class DefaultLF5Configurator extends java.lang.Object implements Configurator
DefaultLF5Configurator
provides a default
configuration for the LF5Appender
.
Note: The preferred method for configuring a LF5Appender
is to use the LF5Manager
class. This class ensures
that configuration does not occur multiple times, and improves system
performance. Reconfiguring the monitor multiple times can result in
unexpected behavior.INHERITED, NULL
限定符和类型 | 方法和说明 |
---|---|
static void |
configure()
This method configures the
LF5Appender using a
default configuration file. |
void |
doConfigure(java.io.InputStream inputStream,
LoggerRepository repository)
This is a dummy method that will throw an
IllegalStateException if used. |
void |
doConfigure(java.net.URL configURL,
LoggerRepository repository)
This is a dummy method that will throw an
IllegalStateException if used. |
public static void configure() throws java.io.IOException
LF5Appender
using a
default configuration file. The default configuration file is
java.io.IOException
public void doConfigure(java.io.InputStream inputStream, LoggerRepository repository)
IllegalStateException
if used.doConfigure
在接口中 Configurator
inputStream
- The InputStream to parserepository
- The hierarchy to operation upon.public void doConfigure(java.net.URL configURL, LoggerRepository repository)
IllegalStateException
if used.doConfigure
在接口中 Configurator
configURL
- The URL to parserepository
- The hierarchy to operation upon.