org.eclipse.corona.logger.log4j.levels
Class TestLevel

java.lang.Object
  extended by Level
      extended by org.eclipse.corona.logger.log4j.levels.TestLevel

public class TestLevel
extends Level

Defines the custom level recognized by the corona plugin. Used in test plugins for storing special test information in separate files.

This level fits into standard levels as follows.
TestLevel < TRACE < DEBUG < INFO < WARN < ERROR < FATAL.

Author:
Piotr Jaworowski
See Also:
ThresholdRollingFileAppender

Field Summary
static Level ALL
          New ALL instance intended to turn on all logging.
static TestLevel TEST
          Test level instance.
static int TEST_INT
          TestLevel level value.
 
Constructor Summary
protected TestLevel(int arg0, java.lang.String arg1, int arg2)
          
 
Method Summary
static Priority[] getAllPossiblePriorities()
          Deprecated.  
static Level toLevel(int i)
           
static Level toLevel(int i, Level level)
           
static Level toLevel(java.lang.String s)
           
static Level toLevel(java.lang.String s, Level level)
           
static Priority toPriority(int i)
          Deprecated.  
static Priority toPriority(int i, Priority priority)
          Deprecated.  
static Priority toPriority(java.lang.String sArg)
          Deprecated.  
static Priority toPriority(java.lang.String sArg, Priority priority)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEST_INT

public static final int TEST_INT
TestLevel level value.


TEST

public static final TestLevel TEST
Test level instance.


ALL

public static final Level ALL
New ALL instance intended to turn on all logging.

Constructor Detail

TestLevel

protected TestLevel(int arg0,
                    java.lang.String arg1,
                    int arg2)

Method Detail

toLevel

public static Level toLevel(java.lang.String s)
See Also:
Level#toLevel(String)

toLevel

public static Level toLevel(int i)
See Also:
Level#toLevel(int)

toLevel

public static Level toLevel(int i,
                            Level level)
See Also:
Level#toLevel(int, Level)

toLevel

public static Level toLevel(java.lang.String s,
                            Level level)
See Also:
Level#toLevel(String, Level)

toPriority

public static Priority toPriority(java.lang.String sArg)
Deprecated. 

See Also:
Level#toPriority(String)

toPriority

public static Priority toPriority(int i)
                           throws java.lang.IllegalArgumentException
Deprecated. 

Throws:
java.lang.IllegalArgumentException
See Also:
Level#toPriority(int)

toPriority

public static Priority toPriority(int i,
                                  Priority priority)
Deprecated. 

See Also:
Level#toPriority(int, Priority)

toPriority

public static Priority toPriority(java.lang.String sArg,
                                  Priority priority)
Deprecated. 

See Also:
Level#toPriority(String, Priority)

getAllPossiblePriorities

public static Priority[] getAllPossiblePriorities()
Deprecated. 

See Also:
Level#getAllPossiblePriorities()

Copyright 2006 IBM Corporation and others.
All Rights Reserved.