com.ebmwebsourcing.easycommons.logger
Class Level
java.lang.Object
java.util.logging.Level
com.ebmwebsourcing.easycommons.logger.Level
- All Implemented Interfaces:
- java.io.Serializable
public final class Level
- extends java.util.logging.Level
Class allowing to define specific in addition to JDK logging levels.
- Author:
- mjambert, aruffie
- See Also:
- Serialized Form
|
Field Summary |
static java.util.logging.Level |
MONIT
|
static java.util.logging.Level |
MONIT_MSG
|
| Fields inherited from class java.util.logging.Level |
ALL, CONFIG, FINE, FINER, FINEST, INFO, OFF, SEVERE, WARNING |
|
Constructor Summary |
protected |
Level(java.lang.String name,
int value)
|
|
Method Summary |
static java.util.logging.Level[] |
getLevels()
Allow to return all JDK logging and specific logging . |
static void |
initialize()
This empty method must be called before any use of a custom Level. |
| Methods inherited from class java.util.logging.Level |
equals, getLocalizedName, getName, getResourceBundleName, hashCode, intValue, parse, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MONIT
public static final java.util.logging.Level MONIT
MONIT_MSG
public static final java.util.logging.Level MONIT_MSG
Level
protected Level(java.lang.String name,
int value)
getLevels
public static final java.util.logging.Level[] getLevels()
- Allow to return all JDK logging and specific logging .
- Returns:
- All as an array in decreasing order.
initialize
public static void initialize()
- This empty method must be called before any use of a custom Level. Custom
Level constructor add custom Levels to known Levels registered in
Level class.
Copyright © 2012 Petals Link. All Rights Reserved.