public class Level extends Object implements Serializable
ILogger,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static Level |
ALL |
static int |
ALL_ID
ALL indicates that all message should be logged.
|
static Level |
INFO |
static int |
INFO_ID
INFO is a message level for informational message.
|
static Level |
OFF |
static int |
OFF_ID
OFF is a special level that can be used to turn off logging.
|
static Level |
SEVERE |
static int |
SEVERE_ID
SEVERE is a message level that indicates a serious failure.
|
static Level |
SYSTEM |
static int |
SYSTEM_ID
This level is used to LOG Information in anycase (like "Portal initialization done")
|
static Level |
WARNING |
static int |
WARNING_ID
WARNING is a message level indicating a potential problem.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Level(String name,
int value)
Constructor for the Level object It is protected to allow subclassing for new
constants definition.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object levelObject)
Tests if the level passed in argument is equal to this level.
|
static Enumeration |
getAllLevels()
Returns an enumeration of all existing levels (ALL, INFO, OFF, SEVERE, WARNING)
|
int |
hashCode() |
int |
intValue()
Gets the integer value for this level.
|
static Level |
parse(String name)
Parse a level name into a Level.
|
String |
toString()
Gets the name of this level.
|
public static final int OFF_ID
public static final Level OFF
public static final int SEVERE_ID
public static final Level SEVERE
public static final int WARNING_ID
public static final Level WARNING
public static final int INFO_ID
public static final Level INFO
public static final int ALL_ID
public static final Level ALL
public static final int SYSTEM_ID
public static final Level SYSTEM
protected Level(String name, int value)
name - Name of the level.value - The constant value associated to that name.public boolean equals(Object levelObject)
public final int intValue()
public final String toString()
public static Level parse(String name) throws IllegalArgumentException
name - A level name.IllegalArgumentException - Thrown if the name passes as an
argument is not one of the known level names.IllegalArgumentExceptionpublic static Enumeration getAllLevels()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS-API
|
[sap.com]
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice