| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicReference | |
| pack-priv static final boolean | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public LogManager | Returns: this log managernot used listener)Overrides java. |
| public boolean | Returns: falseignored logger)Overrides java. |
| private void | |
| public Logger | Returns: the corresponding loggerthe logger name name)Overrides java. |
| public Enumeration | getLoggerNames()
Overrides java. |
| public String | Returns: nullignored name)Overrides java. |
| public static Filter | Returns: the filter set for the thread ornull if no level was setReturns the currently set filter for this thread or |
| public void | readConfiguration()
Configure the system log context initially.
|
| public void | readConfiguration(InputStream
ignored inputStream)
Configure the system log context initially withe given input stream.
|
| public void | removeConfigurationListener(final Runnable
not used listener)Overrides java. |
| public void | |
| public static void | setThreadLocalLogLevel(final Filter
the filter to set for all loggers on this thread filter)Sets the filter on the thread for all loggers. |
| public void | updateConfiguration(final Function<String, BiFunction<String, String, String>>
not used mapper)
Does nothing.
|
| public void | updateConfiguration(final InputStream
not used ins, final Function<String, BiFunction<String, String, String>> not used mapper)
Does nothing.
|
| configuratorRef | back to summary |
|---|---|
| private final AtomicReference<LogContextConfigurator> configuratorRef | |
| PER_THREAD_LOG_FILTER | back to summary |
|---|---|
| pack-priv static final boolean PER_THREAD_LOG_FILTER | |
| PER_THREAD_LOG_FILTER_KEY | back to summary |
|---|---|
| public static final String PER_THREAD_LOG_FILTER_KEY | |
| 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. | |
| getThreadLocalLogFilter | back to summary |
|---|---|
| public static Filter getThreadLocalLogFilter() Returns the currently set filter for this thread or
If the
| |
| 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. | |
| setThreadLocalLogLevel | back to summary |
|---|---|
| public static void setThreadLocalLogLevel(final Filter filter) Sets the filter on the thread for all loggers.
This feature only works if the
| |
| 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.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final ThreadLocal |
| Access | Constructor and Description |
|---|---|
| private |
| LOCAL_FILTER | back to summary |
|---|---|
| pack-priv static final ThreadLocal<Filter> LOCAL_FILTER | |
| LocalFilterHolder | back to summary |
|---|---|
| private LocalFilterHolder() | |