LoggerFinder on the
log managers class path. If not found a default finder will be used.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static volatile boolean | |
| private static final Supplier | |
| private static volatile System. | |
| private static final ReentrantLock | |
| private static final Map | |
| private static final Deque | |
| private static final System. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | activate(final ClassLoader
the class loader to use cl)Activates the module logger and replaces any old delegating |
| public System. | getLogger(final String
the name of the logger. name, final Module the module for which the logger is being requested. module)Implements abstract java. Logger
for the given module.
|
| activated | back to summary |
|---|---|
| private static volatile boolean activated | |
| defaultFinder | back to summary |
|---|---|
| private static final Supplier<System. | |
| finder | back to summary |
|---|---|
| private static volatile System. | |
| lock | back to summary |
|---|---|
| private static final ReentrantLock lock | |
| loggers | back to summary |
|---|---|
| private static final Map<String, System. | |
| messages | back to summary |
|---|---|
| private static final Deque<ModuleLoggerFinder. | |
| queueingFinder | back to summary |
|---|---|
| private static final System. | |
| ModuleLoggerFinder | back to summary |
|---|---|
| public ModuleLoggerFinder() | |
| activate | back to summary |
|---|---|
| pack-priv static void activate(final ClassLoader cl) Activates the module logger and replaces any old delegating
| |
| getLogger | back to summary |
|---|---|
| public System. Implements abstract java. Doc from java. Returns an instance of | |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicReference |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private System. | |
| public String | |
| public boolean | isLoggable(final System.
the log message level. levelImplements java. |
| public void | log(final System.
the log message level. level,the string message (or a key in the message catalog, if
this logger is a msg)localized logger);
can be null.Overrides default java. |
| public void | |
| public void | |
| public void | log(final System.
the log message level. level,the string message (or a key in the message catalog, if
this logger is a msg, final Throwable localized logger);
can be null.a thrown)Throwable associated with the log message;
can be null.Overrides default java. |
| public void | log(final System.
one of the log message level identifiers. level,a supplier function that produces a message. msgSupplier, final Throwable a thrown)Throwable associated with log message;
can be null.Overrides default java. |
| public void | log(final System.
one of the log message level identifiers. level,the string message format in format, final Object... java.text.MessageFormat format, (or a key in the message
catalog, if this logger is a localized logger);
can be null.an optional list of parameters to the message (may be
none). params)Overrides default java. |
| public void | log(final System.
the log message level. level,a resource bundle to localize bundle, final String msg; can be
null.the string message (or a key in the message catalog,
if msg, final Throwable bundle is not null); can be null.a thrown)Throwable associated with the log message;
can be null.Implements java. |
| public void | log(final System.
the log message level. level,a resource bundle to localize bundle, final String format; can be
null.the string message format in format, final Object... java.text.MessageFormat format, (or a key in the message
catalog if bundle is not null); can be null.an optional list of parameters to the message (may be
none). params)Implements java. |
| delegate | back to summary |
|---|---|
| private final AtomicReference<System. | |
| DelegatingSystemLogger | back to summary |
|---|---|
| private DelegatingSystemLogger(final System. | |
| getDelegate | back to summary |
|---|---|
| private System. | |
| getName | back to summary |
|---|---|
| public String getName() Implements java. Doc from java. Returns the name of this logger. | |
| isLoggable | back to summary |
|---|---|
| public boolean isLoggable(final System. Implements java. Doc from java. Checks if a message of the given level would be logged by this logger. | |
| log | back to summary |
|---|---|
| public void log(final System. Overrides default java. Doc from java. Logs a message. | |
| log | back to summary |
|---|---|
| public void log(final System. Overrides default java. Doc from java. Logs a lazily supplied message. If the logger is currently enabled for the given log message level then a message is logged that is the result produced by the given supplier function. Otherwise, the supplier is not operated on. | |
| log | back to summary |
|---|---|
| public void log(final System. Overrides default java. Doc from java. Logs a message produced from the given object. If the logger is currently enabled for the given log message level then a message is logged that, by default, is the result produced from calling toString on the given object. Otherwise, the object is not operated on. | |
| log | back to summary |
|---|---|
| public void log(final System. Overrides default java. Doc from java. Logs a message associated with a given throwable. | |
| log | back to summary |
|---|---|
| public void log(final System. Overrides default java. Doc from java. Logs a lazily supplied message associated with a given throwable. If the logger is currently enabled for the given log message level then a message is logged that is the result produced by the given supplier function. Otherwise, the supplier is not operated on. | |
| log | back to summary |
|---|---|
| public void log(final System. Overrides default java. Doc from java. Logs a message with an optional list of parameters.
| |
| log | back to summary |
|---|---|
| public void log(final System. Implements java. Doc from java. Logs a localized message associated with a given throwable.
If the given resource bundle is non-
| |
| log | back to summary |
|---|---|
| public void log(final System. Implements java. Doc from java. Logs a message with resource bundle and an optional list of
parameters.
If the given resource bundle is non-
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Logger | |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public boolean | isLoggable(final System.
the log message level. levelImplements java. |
| public void | log(final System.
the log message level. level,a resource bundle to localize bundle, final String msg; can be
null.the string message (or a key in the message catalog,
if msg, final Throwable bundle is not null); can be null.a thrown)Throwable associated with the log message;
can be null.Implements java. |
| public void | log(final System.
the log message level. level,a resource bundle to localize bundle, final String format; can be
null.the string message format in format, final Object... java.text.MessageFormat format, (or a key in the message
catalog if bundle is not null); can be null.an optional list of parameters to the message (may be
none). params)Implements java. |
| delegate | back to summary |
|---|---|
| private final Logger delegate | |
| LEVELS | back to summary |
|---|---|
| private static final Map<System. | |
| JulSystemLogger | back to summary |
|---|---|
| private JulSystemLogger(final Logger delegate) | |
| getName | back to summary |
|---|---|
| public String getName() Implements java. Doc from java. Returns the name of this logger. | |
| isLoggable | back to summary |
|---|---|
| public boolean isLoggable(final System. Implements java. Doc from java. Checks if a message of the given level would be logged by this logger. | |
| log | back to summary |
|---|---|
| public void log(final System. Implements java. Doc from java. Logs a localized message associated with a given throwable.
If the given resource bundle is non-
| |
| log | back to summary |
|---|---|
| public void log(final System. Implements java. Doc from java. Logs a message with resource bundle and an optional list of
parameters.
If the given resource bundle is non-
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final System. | |
| private final Module | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public boolean | isLoggable(final System.
the log message level. levelImplements java. |
| public void | log(final System.
the log message level. level,a resource bundle to localize bundle, final String msg; can be
null.the string message (or a key in the message catalog,
if msg, final Throwable bundle is not null); can be null.a thrown)Throwable associated with the log message;
can be null.Implements java. |
| public void | log(final System.
the log message level. level,a resource bundle to localize bundle, final String format; can be
null.the string message format in format, final Object... java.text.MessageFormat format, (or a key in the message
catalog if bundle is not null); can be null.an optional list of parameters to the message (may be
none). params)Implements java. |
| DEFAULT_LEVEL | back to summary |
|---|---|
| private static final System. | |
| module | back to summary |
|---|---|
| private final Module module | |
| name | back to summary |
|---|---|
| private final String name | |
| QueueingSystemLogger | back to summary |
|---|---|
| private QueueingSystemLogger(final String name, final Module module) | |
| getName | back to summary |
|---|---|
| public String getName() Implements java. Doc from java. Returns the name of this logger. | |
| isLoggable | back to summary |
|---|---|
| public boolean isLoggable(final System. Implements java. Doc from java. Checks if a message of the given level would be logged by this logger. | |
| log | back to summary |
|---|---|
| public void log(final System. Implements java. Doc from java. Logs a localized message associated with a given throwable.
If the given resource bundle is non-
| |
| log | back to summary |
|---|---|
| public void log(final System. Implements java. Doc from java. Logs a message with resource bundle and an optional list of
parameters.
If the given resource bundle is non-
| |
| Modifier and Type | Field and Description |
|---|---|
| private final ResourceBundle | |
| private final Throwable | |
| private final System. | |
| private final Module | |
| private final String | |
| private final String | |
| private final Object[] |
| Access | Constructor and Description |
|---|---|
| private | SystemLogRecord(final String name, final Module module, final System.
|
| Modifier and Type | Method and Description |
|---|---|
| public String |
| bundle | back to summary |
|---|---|
| private final ResourceBundle bundle | |
| cause | back to summary |
|---|---|
| private final Throwable cause | |
| level | back to summary |
|---|---|
| private final System. | |
| module | back to summary |
|---|---|
| private final Module module | |
| msg | back to summary |
|---|---|
| private final String msg | |
| name | back to summary |
|---|---|
| private final String name | |
| params | back to summary |
|---|---|
| private final Object[] params | |
| SystemLogRecord | back to summary |
|---|---|
| private SystemLogRecord(final String name, final Module module, final System. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |