public abstract class Logger
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ALERT
A condition that should be corrected immediately
|
protected static Logger |
centralLogger
Global Logger object.
|
static int |
CRITICAL
Critical conditions.
|
static int |
DEBUG
Debugging messages.
|
static int |
EMERGENCY
Standard level for urgent condition that requires immediate attention
and indicates that the system is no longer functioning.
|
static int |
ERROR
Errors that have been correctly handled.
|
static int |
INFO
Informational messages.
|
static int |
LOCAL
Local use.
|
static java.lang.String |
LOG_FILE
Config file keys
|
static java.lang.String |
LOG_TO_FILE |
static java.lang.String |
LOG_TO_STDERR |
static int |
MAX_STD_LEVEL
Largest fixed logging level.
|
static int |
NOTICE
Conditions that are not error conditions, but should possibly be handled specially.
|
protected static java.lang.String[] |
standardLevelNames
Table of standard level names
|
static int |
WARNING
Warning messages.
|
Constructor and Description |
---|
Logger() |
Modifier and Type | Method and Description |
---|---|
static Logger |
getCentralLogger()
Get the central (global) logging object.
|
abstract LogChannel |
getChannel(java.lang.String facility)
Get the log channel object for a facility.
|
static java.lang.String |
getLevelName(int level)
Returns the symbolic name of the logging level.
|
public static final java.lang.String LOG_FILE
public static final java.lang.String LOG_TO_FILE
public static final java.lang.String LOG_TO_STDERR
public static final int EMERGENCY
public static final int ALERT
public static final int CRITICAL
public static final int ERROR
public static final int WARNING
public static final int NOTICE
public static final int INFO
public static final int DEBUG
public static final int LOCAL
public static final int MAX_STD_LEVEL
protected static Logger centralLogger
protected static final java.lang.String[] standardLevelNames
public static Logger getCentralLogger()
public static java.lang.String getLevelName(int level)
public abstract LogChannel getChannel(java.lang.String facility)