com.neeve.trace
Enum Tracer.Level

java.lang.Object
  extended by java.lang.Enum<Tracer.Level>
      extended by com.neeve.trace.Tracer.Level
All Implemented Interfaces:
Serializable, Comparable<Tracer.Level>
Enclosing class:
Tracer

public static enum Tracer.Level
extends Enum<Tracer.Level>

Defines the various trace levels.


Enum Constant Summary
ALL
          See Level.ALL
CONFIG
          See Level.CONFIG
DEBUG
          Same level as FINEST
DIAGNOSE
          Same level as FINE
FINE
          See Level.FINE
FINER
          See Level.FINER
FINEST
          See Level.FINEST
INFO
          See Level.INFO
OFF
          See Level.OFF
SEVERE
          See Level.SEVERE
VERBOSE
          Same level as FINER
WARNING
          See Level.WARNING
 
Field Summary
 int val
           
 
Method Summary
static Tracer.Level valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Tracer.Level[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OFF

public static final Tracer.Level OFF
See Level.OFF


SEVERE

public static final Tracer.Level SEVERE
See Level.SEVERE


WARNING

public static final Tracer.Level WARNING
See Level.WARNING


INFO

public static final Tracer.Level INFO
See Level.INFO


CONFIG

public static final Tracer.Level CONFIG
See Level.CONFIG


FINE

public static final Tracer.Level FINE
See Level.FINE


DIAGNOSE

public static final Tracer.Level DIAGNOSE
Same level as FINE


FINER

public static final Tracer.Level FINER
See Level.FINER


VERBOSE

public static final Tracer.Level VERBOSE
Same level as FINER


FINEST

public static final Tracer.Level FINEST
See Level.FINEST


DEBUG

public static final Tracer.Level DEBUG
Same level as FINEST


ALL

public static final Tracer.Level ALL
See Level.ALL

Field Detail

val

public final int val
Method Detail

values

public static Tracer.Level[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Tracer.Level c : Tracer.Level.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Tracer.Level valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.