Modifier and Type | Field and Description |
---|---|
static Level |
BasicLevel.LEVEL_DEBUG
DEBUG messages might include things like minor (recoverable) failures.
|
static Level |
BasicLevel.LEVEL_ERROR
The ERROR level designates error events that might still allow the
application to continue running.
|
static Level |
BasicLevel.LEVEL_FATAL
In general, FATAL messages should describe events that are of
considerable importance and which will prevent continuation of the
program execution.
|
static Level |
BasicLevel.LEVEL_INFO
The INFO level designates informational messages that highlight the
progress of the application at a coarse-grained level.
|
static Level |
BasicLevel.LEVEL_INHERIT
This special level indicates that the level is inherited from its
ancestors.
|
static Level |
BasicLevel.LEVEL_WARN
In general, WARN messages should describe events that will be of
interest to end users or system managers, or which indicate potential
problems.
|
Modifier and Type | Method and Description |
---|---|
Level |
LevelFactory.defineLevel(java.lang.String name,
int value)
It defines a new Level with a name and an integer value.
|
Level |
LevelFactory.defineLevel(java.lang.String name,
java.lang.String value)
It defines a new Level with a name and a string value.
|
Level |
Logger.getCurrentLevel()
Returns the current level value under the Level format
|
Level |
LevelFactory.getLevel(int value)
It retrieves a Level instance which the integer value is equals to the
parameter.
|
Level |
LevelFactory.getLevel(java.lang.String name)
It retrieves a Level instance which the name is equals to the parameter.
|
Level[] |
LevelFactory.getLevels()
It retrieves all Level instances defined in this manager.
|
Modifier and Type | Method and Description |
---|---|
int |
Level.compareTo(Level o)
Compares this object with the specified object for order.
|
boolean |
Level.isComparableWith(Level o)
This method returns true is the current level and the Level parameter are
ordered.
|
boolean |
Logger.isLoggable(Level l)
Check if a message of the given level would actually be logged by this logger.
|
void |
MonologFactoryListener.levelCreated(Level level)
It is called when a new level has been created by the monolog factory
|
void |
MonologFactoryListener.levelRemoved(Level level)
It i called when a level has been removed by the monolog factory
|
void |
Logger.log(Level level,
java.lang.Object message)
Log a message, with no arguments.
|
void |
Logger.log(Level l,
java.lang.Object message,
java.lang.Object location,
java.lang.Object method)
Log a message, with a location and method arguments.
|
void |
Logger.log(Level level,
java.lang.Object message,
java.lang.Throwable throwable)
Log a message, with a throwable arguments which can represent an
error or a context..
|
void |
Logger.log(Level level,
java.lang.Object message,
java.lang.Throwable throwable,
java.lang.Object location,
java.lang.Object method)
Log a message, with a location, method and throwable arguments.
|
void |
Logger.setLevel(Level l)
Permits to set the level with a Level instance.
|