BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.logging
Class WLLevel

java.lang.Object
  |
  +--java.util.logging.Level
        |
        +--weblogic.logging.WLLevel

public class WLLevel
extends java.util.logging.Level

Author:
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.
See Also:
Serialized Form

Field Summary
static WLLevel ALERT
           
static WLLevel CRITICAL
           
static WLLevel DEBUG
           
static WLLevel EMERGENCY
           
static WLLevel ERROR
           
static WLLevel INFO
           
static WLLevel NOTICE
           
static WLLevel WARNING
           
 
Fields inherited from class java.util.logging.Level
ALL, CONFIG, FINE, FINER, FINEST, INFO, OFF, SEVERE, WARNING
 
Constructor Summary
protected WLLevel(java.lang.String name, int value, int severity)
           
 
Method Summary
protected  java.lang.String getHeader(java.util.logging.Level level)
           
static java.util.logging.Level getLevel(int level)
          Converts an old-style severity code to a Level
 java.lang.String getLocalizedName()
           
 int getSeverity()
           
static int getSeverity(java.util.logging.Level level)
          Maps a level to an old-style severity code
 
Methods inherited from class java.util.logging.Level
equals, getName, getResourceBundleName, hashCode, intValue, parse, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EMERGENCY

public static final WLLevel EMERGENCY

CRITICAL

public static final WLLevel CRITICAL

ERROR

public static final WLLevel ERROR

ALERT

public static final WLLevel ALERT

NOTICE

public static final WLLevel NOTICE

DEBUG

public static final WLLevel DEBUG

WARNING

public static final WLLevel WARNING

INFO

public static final WLLevel INFO
Constructor Detail

WLLevel

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

getHeader

protected java.lang.String getHeader(java.util.logging.Level level)

getSeverity

public int getSeverity()

getLocalizedName

public java.lang.String getLocalizedName()

Overrides:
getLocalizedName in class java.util.logging.Level

getLevel

public static java.util.logging.Level getLevel(int level)
Converts an old-style severity code to a Level

getSeverity

public static int getSeverity(java.util.logging.Level level)
Maps a level to an old-style severity code

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b