| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicReference |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public LogManager | Returns: this log managernot used listener)Overrides java. Configuration listeners are not currently supported. |
| public boolean | Returns: falseignored logger)Overrides java. Do nothing. |
| private void | |
| public Logger | Returns: the corresponding loggerthe logger name name)Overrides java. Get or create a logger with the given name. |
| public Enumeration | getLoggerNames()
Overrides java. Get an enumeration of known logger names. |
| public String | Returns: nullignored name)Overrides java. Does nothing. |
| public void | readConfiguration()
Overrides java. Configure the system log context initially. |
| public void | readConfiguration(InputStream
ignored inputStream)Overrides java. Configure the system log context initially withe given input stream. |
| public void | removeConfigurationListener(final Runnable
not used listener)Overrides java. Configuration listeners are not currently supported. |
| public void | |
| public void | updateConfiguration(final Function<String, BiFunction<String, String, String>>
not used mapper)Overrides java. Does nothing. |
| public void | updateConfiguration(final InputStream
not used ins, final Function<String, BiFunction<String, String, String>> not used mapper)Overrides java. Does nothing. |
| configuratorRef | back to summary |
|---|---|
| private final AtomicReference<LogContextConfigurator> configuratorRef | |
| LogManager | back to summary |
|---|---|
| public LogManager() Construct a new logmanager instance. Attempts to plug a known memory leak in | |
| addConfigurationListener | back to summary |
|---|---|
| public LogManager addConfigurationListener(final Runnable listener) Overrides java. Configuration listeners are not currently supported.
| |
| addLogger | back to summary |
|---|---|
| public boolean addLogger(Logger logger) Overrides java. Do nothing. Loggers are only added/acquired via
| |
| doConfigure | back to summary |
|---|---|
| private void doConfigure(InputStream inputStream) | |
| getLogger | back to summary |
|---|---|
| public Logger getLogger(String name) Overrides java. Get or create a logger with the given name. | |
| getLoggerNames | back to summary |
|---|---|
| public Enumeration Overrides java. Doc from java. Get an enumeration of known logger names. Note Loggers may be added dynamically as new classes are loaded.
This method only reports on the loggers that are currently registered.
It is also important to note that this method only returns the name
of a Logger, not a strong reference to the Logger itself.
The returned String does nothing to prevent the Logger from being
garbage collected. In particular, if the returned name is passed
to
| |
| getProperty | back to summary |
|---|---|
| public String getProperty(String name) Overrides java. Does nothing. Properties are not supported. | |
| readConfiguration | back to summary |
|---|---|
| public void readConfiguration() Overrides java. Configure the system log context initially. | |
| readConfiguration | back to summary |
|---|---|
| public void readConfiguration(InputStream inputStream) Overrides java. Configure the system log context initially withe given input stream.
| |
| removeConfigurationListener | back to summary |
|---|---|
| public void removeConfigurationListener(final Runnable listener) Overrides java. Configuration listeners are not currently supported.
| |
| reset | back to summary |
|---|---|
| public void reset() Overrides java. Does nothing. This method only causes trouble. | |
| updateConfiguration | back to summary |
|---|---|
| public void updateConfiguration(final Function<String, BiFunction<String, String, String>> mapper) throws IOException Overrides java. Does nothing.
| |
| updateConfiguration | back to summary |
|---|---|
| public void updateConfiguration(final InputStream ins, final Function<String, BiFunction<String, String, String>> mapper) throws IOException Overrides java. Does nothing.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static LogManager |
| Provider | back to summary |
|---|---|
| public Provider() | |
| provider | back to summary |
|---|---|
| public static LogManager provider() The service provider method. This method is used when the log manager service is loaded from a modular application.
| |