com.ebmwebsourcing.easycommons.logger
Class Level

java.lang.Object
  extended by java.util.logging.Level
      extended by 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
           
 
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.
static java.util.logging.Level parse(java.lang.String name)
           
 
Methods inherited from class java.util.logging.Level
equals, getLocalizedName, getName, getResourceBundleName, hashCode, intValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

MONIT

public static final java.util.logging.Level MONIT
Constructor Detail

Level

protected Level(java.lang.String name,
                int value)
Method Detail

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.

parse

public static final java.util.logging.Level parse(java.lang.String name)

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 © 2011 Petals Link. All Rights Reserved.