| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| private static final String | |
| private final LoggerNode | loggerNode
The named logger tree node. |
| pack-priv static final int | |
| private volatile ResourceBundle | resourceBundle
The resource bundle for this logger. |
| private static final long | |
| pack-priv static final int | |
| private static final ResourceBundle | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | Logger(final LoggerNode
the node in the named logger tree loggerNode, final String the fully-qualified name of this node name)Construct a new instance of an actual logger. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addHandler(Handler
a logging Handler handler)Overrides java. |
| public < the attachment value type V> V | Returns: the old attachment, if there was onethe attachment key key,the attachment value value)Attach an object to this logger under a given key. |
| public < the attachment value type V> V | Returns: the current attachment, if there is one, ornull if the value was successfully attachedthe attachment key key,the attachment value value)Attach an object to this logger under a given key, if such an attachment does not already exist. |
| public Handler[] | |
| public boolean | Returns: true if the handler list was updated or false if the current handlers did not match the expected
handlers listthe expected list of handlers expected, final Handler[] the replacement list of handlers newHandlers)Atomically compare and set the handler list for this logger. |
| public void | config(final String
The string message (or a key in the message catalog) msg)Overrides java. |
| public void | config(final Supplier<String>
A function, which when called, produces the
desired log message msgSupplier)Overrides java. |
| public < the attachment value type V> V | Returns: the old value, ornull if there was nonethe attachment key keyRemove an attachment. |
| public void | entering(final String
name of class that issued the logging request sourceClass, final String name of method that is being entered sourceMethod)Overrides java. |
| public void | entering(final String
name of class that issued the logging request sourceClass, final String name of method that is being entered sourceMethod, final Object parameter to the method being entered param1)Overrides java. |
| public void | entering(final String
name of class that issued the logging request sourceClass, final String name of method that is being entered sourceMethod, final Object[] array of parameters to the method being entered params)Overrides java. |
| public void | exiting(final String
name of class that issued the logging request sourceClass, final String name of the method sourceMethod)Overrides java. |
| public void | exiting(final String
name of class that issued the logging request sourceClass, final String name of the method sourceMethod, final Object Object that is being returned result)Overrides java. |
| public void | fine(final String
The string message (or a key in the message catalog) msg)Overrides java. |
| public void | fine(final Supplier<String>
A function, which when called, produces the
desired log message msgSupplier)Overrides java. |
| public void | finer(final String
The string message (or a key in the message catalog) msg)Overrides java. |
| public void | finer(final Supplier<String>
A function, which when called, produces the
desired log message msgSupplier)Overrides java. |
| public void | finest(final String
The string message (or a key in the message catalog) msg)Overrides java. |
| public void | finest(final Supplier<String>
A function, which when called, produces the
desired log message msgSupplier)Overrides java. |
| public Handler[] | Returns: the old handler setthe new handler set handlers)Atomically get and set the handler list for this logger. |
| public < the attachment value type V> V | Returns: the attachment, ornull if there is none for this keythe key keyGet the attachment value for a given key, or |
| public int | Returns: the effective levelGet the effective numerical log level, inherited from the parent. |
| public Filter | |
| public Handler[] | getHandlers()
Overrides java. |
| public Level | getLevel()
Overrides java. |
| public LogContext | |
| public static Logger | |
| public static Logger | |
| public Logger | |
| public ResourceBundle | Returns: the resource bundle, ornull if none is configured for this loggerOverrides java. |
| public boolean | Returns: true if filters are inherited, otherwise falseIndicates whether or not this logger inherits filters from it's parent logger. |
| public boolean | getUseParentHandlers()
Discover whether or not this logger is sending its output
to its parent logger.
|
| public void | info(final String
The string message (or a key in the message catalog) msg)Overrides java. |
| public void | info(final Supplier<String>
A function, which when called, produces the
desired log message msgSupplier)Overrides java. |
| public boolean | isLoggable(Level
a message logging level level)Overrides java. |
| public void | log(LogRecord
the LogRecord to be published record)Overrides java. |
| public void | log(final Level
One of the message level identifiers, e.g., SEVERE level, final String The string message (or a key in the message catalog) msg)Overrides java. |
| public void | log(final Level
One of the message level identifiers, e.g., SEVERE level, final Supplier<String> A function, which when called, produces the
desired log message msgSupplier)Overrides java. |
| public void | log(final Level
One of the message level identifiers, e.g., SEVERE level, final String The string message (or a key in the message catalog) msg, final Object parameter to the message param1)Overrides java. |
| public void | log(final Level
One of the message level identifiers, e.g., SEVERE level, final String The string message (or a key in the message catalog) msg, final Object[] array of parameters to the message params)Overrides java. |
| public void | log(final Level
One of the message level identifiers, e.g., SEVERE level, final String The string message (or a key in the message catalog) msg, final Throwable Throwable associated with log message. thrown)Overrides java. |
| public void | log(final Level
One of the message level identifiers, e.g., SEVERE level, final Throwable Throwable associated with log message. thrown, final Supplier<String> A function, which when called, produces the
desired log message msgSupplier)Overrides java. |
| public void | log(final String
the fully qualified class name of the first logger class fqcn, final Level the level to log at level, final String the message message, final String the resource bundle name bundleName, final ExtLogRecord.the message format style style,the log parameters params, final Throwable the throwable, if any t)SPI interface method to log a message at a given level, with a specific resource bundle. |
| public void | log(final String
the fully qualified class name of the first logger class fqcn, final Level the level to log at level, final String the message message, final ExtLogRecord.the message format style style,the log parameters params, final Throwable the throwable, if any t)SPI interface method to log a message at a given level. |
| public void | |
| public void | logp(final Level
One of the message level identifiers, e.g., SEVERE level, final String name of class that issued the logging request sourceClass, final String name of method that issued the logging request sourceMethod, final String The string message (or a key in the message catalog) msg)Overrides java. |
| public void | logp(final Level
One of the message level identifiers, e.g., SEVERE level, final String name of class that issued the logging request sourceClass, final String name of method that issued the logging request sourceMethod, final Supplier<String> A function, which when called, produces the
desired log message msgSupplier)Overrides java. |
| public void | logp(final Level
One of the message level identifiers, e.g., SEVERE level, final String name of class that issued the logging request sourceClass, final String name of method that issued the logging request sourceMethod, final String The string message (or a key in the message catalog) msg, final Object Parameter to the log message. param1)Overrides java. |
| public void | logp(final Level
One of the message level identifiers, e.g., SEVERE level, final String name of class that issued the logging request sourceClass, final String name of method that issued the logging request sourceMethod, final String The string message (or a key in the message catalog) msg, final Object[] Array of parameters to the message params)Overrides java. |
| public void | logp(final Level
One of the message level identifiers, e.g., SEVERE level, final String name of class that issued the logging request sourceClass, final String name of method that issued the logging request sourceMethod, final String The string message (or a key in the message catalog) msg, final Throwable Throwable associated with log message. thrown)Overrides java. |
| public void | logp(final Level
One of the message level identifiers, e.g., SEVERE level, final String name of class that issued the logging request sourceClass, final String name of method that issued the logging request sourceMethod, final Throwable Throwable associated with log message. thrown, final Supplier<String> A function, which when called, produces the
desired log message msgSupplier)Overrides java. |
| public void | logRaw(final ExtLogRecord
the extended log record record)Do the logging with no level checks (they've already been done). |
| public void | |
| public void | logrb(final Level
One of the message level identifiers, e.g., SEVERE level, final String name of class that issued the logging request sourceClass, final String name of method that issued the logging request sourceMethod, final String name of resource bundle to localize msg,
can be null bundleName, final String The string message (or a key in the message catalog) msg)Overrides java.
Deprecated
for removal since 3.0.
Log a message, specifying source class, method, and resource bundle name
with no arguments.
|
| public void | logrb(final Level
One of the message level identifiers, e.g., SEVERE level, final String name of class that issued the logging request sourceClass, final String name of method that issued the logging request sourceMethod, final String name of resource bundle to localize msg,
can be null bundleName, final String The string message (or a key in the message catalog) msg, final Object Parameter to the log message. param1)Overrides java.
Deprecated
for removal since 3.0.
Log a message, specifying source class, method, and resource bundle name,
with a single object parameter to the log message.
|
| public void | logrb(final Level
One of the message level identifiers, e.g., SEVERE level, final String name of class that issued the logging request sourceClass, final String name of method that issued the logging request sourceMethod, final String name of resource bundle to localize msg,
can be null. bundleName, final String The string message (or a key in the message catalog) msg, final Object[] Array of parameters to the message params)Overrides java.
Deprecated
for removal since 3.0.
Log a message, specifying source class, method, and resource bundle name,
with an array of object arguments.
|
| public void | logrb(final Level
One of the message level identifiers, e.g., SEVERE level, final String name of class that issued the logging request sourceClass, final String name of method that issued the logging request sourceMethod, final String name of resource bundle to localize msg,
can be null bundleName, final String The string message (or a key in the message catalog) msg, final Throwable Throwable associated with log message. thrown)Overrides java.
Deprecated
for removal since 3.0.
Log a message, specifying source class, method, and resource bundle name,
with associated Throwable information.
|
| public void | logrb(final Level
One of the message level identifiers, e.g., level, final String SEVEREName of the class that issued the logging request sourceClass, final String Name of the method that issued the logging request sourceMethod, final ResourceBundle Resource bundle to localize bundle, final String msg,
can be null.The string message (or a key in the message catalog) msg, final Object... Parameters to the message (optional, may be none). params)Overrides java. |
| public void | logrb(final Level
One of the message level identifiers, e.g., level, final ResourceBundle SEVEREResource bundle to localize bundle, final String msg;
can be null.The string message (or a key in the message catalog) msg, final Object... Parameters to the message (optional, may be none). params)Overrides java. |
| public void | logrb(final Level
One of the message level identifiers, e.g., level, final String SEVEREName of the class that issued the logging request sourceClass, final String Name of the method that issued the logging request sourceMethod, final ResourceBundle Resource bundle to localize bundle, final String msg,
can be nullThe string message (or a key in the message catalog) msg, final Throwable Throwable associated with the log message. thrown)Overrides java. |
| public void | logrb(final Level
One of the message level identifiers, e.g., level, final ResourceBundle SEVEREResource bundle to localize bundle, final String msg;
can be null.The string message (or a key in the message catalog) msg, final Throwable Throwable associated with the log message. thrown)Overrides java. |
| public void | removeHandler(Handler
a logging Handler handler)Overrides java. |
| public void | setFilter(Filter
a filter object (may be null) filter)Overrides java. |
| public void | setHandlers(final Handler[]
the new handlers handlers)A convenience method to atomically replace the handler list for this logger. |
| public void | setLevel(Level
the new value for the log level (may be null) newLevel)Overrides java. |
| public void | |
| public void | setParent(Logger
the new parent logger parent)Overrides java. |
| public void | setResourceBundle(ResourceBundle
the resource bundle (must not be resourceBundle)null)Overrides java. |
| public void | setUseParentFilters(final boolean
true to inherit a parents filter, otherwise falseSpecify whether or not filters should be inherited from parent loggers. |
| public void | setUseParentHandlers(boolean
true if output is to be sent to the
logger's parent. useParentHandlers)
Specify whether or not this logger should send its output
to its parent Logger.
|
| public void | severe(final String
The string message (or a key in the message catalog) msg)Overrides java. |
| public void | severe(final Supplier<String>
A function, which when called, produces the
desired log message msgSupplier)Overrides java. |
| public void | throwing(final String
name of class that issued the logging request sourceClass, final String name of the method. sourceMethod, final Throwable The Throwable that is being thrown. thrown)Overrides java. |
| public String | |
| public void | warning(final String
The string message (or a key in the message catalog) msg)Overrides java. |
| public void | warning(final Supplier<String>
A function, which when called, produces the
desired log message msgSupplier)Overrides java. |
| protected final Object |