public class LibraryLogManager
extends java.lang.Object
| Constructor and Description |
|---|
LibraryLogManager() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.logging.Logger |
getLogger(java.lang.Class<?> clazz)
Returns a logger for the specified class that will send messages to the
standard output stream providing their log level exceeds the level defined
by the CA_LIBRARY_LOG_LEVEL system property.
|
static java.util.logging.Logger |
getLogger(java.lang.Class<?> clazz,
java.util.logging.Level logLevel)
Returns a logger for the specified class that will send messages to the
standard output stream providing their log level exceeds the specified
log level.
|
public static java.util.logging.Logger getLogger(java.lang.Class<?> clazz)
clazz - the class that the log messages will be associated with.public static java.util.logging.Logger getLogger(java.lang.Class<?> clazz,
java.util.logging.Level logLevel)
clazz - the class that the logger will be associated with
when logging messages.logLevel - Set the log level specifying which message levels
will be sent to the standard output stream by this logger. Message levels
lower than this value will be discarded. The value Level.OFF can be
used to completely turn off logging.