public enum LoggerProvider extends java.lang.Enum<LoggerProvider>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
static java.util.logging.Logger |
getBrowserLogger()
Returns Browser Logger which is used to log browser info, debug and error messages.
|
static java.util.logging.Logger |
getIPCLogger()
Returns IPC (Inter-Process Communication) Logger which is used to log IPC messages.
|
static java.util.logging.Logger |
getProcessLogger()
Returns Process Logger which is used to log messages that are come from process.
|
static void |
setLevel(java.util.logging.Level newLevel)
Sets the log level specifying which message levels will be logged by all JExplorer loggers.
|
static LoggerProvider |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LoggerProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggerProvider INSTANCE
public static LoggerProvider[] values()
for (LoggerProvider c : LoggerProvider.values()) System.out.println(c);
public static LoggerProvider valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.logging.Logger getBrowserLogger()
public static java.util.logging.Logger getIPCLogger()
public static java.util.logging.Logger getProcessLogger()
public static void setLevel(java.util.logging.Level newLevel)
Level.OFF
can be used to turn off logging.newLevel
- the new value for the log level (may be null
).