public enum LogCategory extends java.lang.Enum<LogCategory>
ALL | = "all" | ||
CACHE | = "cache" | ||
CONNECTION | = "connection" | ||
DDL | = "ddl" | ||
DMS | = "dms" | ||
EJB | = "ejb" | ||
EJB_OR_METADATA | = "ejb_or_metadata" | ||
EVENT | = "event" | ||
JPA | = "jpa" | ||
JPARS | = "jpars" | ||
METADATA | = "metadata" | ||
METAMODEL | = "metamodel" | ||
MONITORING | = "monitoring" | ||
MOXY | = "moxy" | ||
PROPAGATION | = "propagation" | ||
PROPERTIES | = "properties" | ||
QUERY | = "query" | ||
SEQUENCING | = "sequencing" | ||
SERVER | = "server" | ||
SQL | = "sql" | ||
THREAD | = "thread" | ||
TRANSACTION | = "transaction" | ||
WEAVER | = "weaver" |
Enum Constant and Description |
---|
ALL |
CACHE |
CONNECTION |
DDL |
DMS |
EJB |
EVENT |
JPA |
JPARS |
METADATA |
METAMODEL |
MISC |
MONITORING |
MOXY |
PROCESSOR |
PROPAGATION |
PROPERTIES |
QUERY |
SEQUENCING |
SERVER |
SQL |
THREAD |
TRANSACTION |
WEAVER |
Modifier and Type | Field and Description |
---|---|
static int |
length
Logging categories enumeration length.
|
Modifier and Type | Method and Description |
---|---|
byte |
getId()
Get logging category ID.
|
java.lang.String |
getLogLevelProperty()
Get log level property name for this logging category.
|
java.lang.String |
getName()
Get logging category name.
|
java.lang.String |
getNameSpace()
Get logger name space for this logging category.
|
static LogCategory |
toValue(java.lang.String name)
Returns
LogCategory object holding the value of the specified String . |
static LogCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogCategory ALL
public static final LogCategory CACHE
public static final LogCategory CONNECTION
public static final LogCategory DDL
public static final LogCategory DMS
public static final LogCategory EJB
public static final LogCategory EVENT
public static final LogCategory JPA
public static final LogCategory JPARS
public static final LogCategory METADATA
public static final LogCategory METAMODEL
public static final LogCategory MISC
public static final LogCategory MONITORING
public static final LogCategory MOXY
public static final LogCategory PROCESSOR
public static final LogCategory PROPAGATION
public static final LogCategory PROPERTIES
public static final LogCategory QUERY
public static final LogCategory SEQUENCING
public static final LogCategory SERVER
public static final LogCategory SQL
public static final LogCategory TRANSACTION
public static final LogCategory WEAVER
public static final LogCategory THREAD
public static LogCategory[] values()
for (LogCategory c : LogCategory.values()) System.out.println(c);
public static LogCategory valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static final LogCategory toValue(java.lang.String name)
LogCategory
object holding the value of the specified String
.name
- The String
to be parsed.LogCategory
object holding the value represented by the string argument or null
when
there exists no corresponding LogCategory
object to provided argument value. null
value
of the string argument is converted to ALL
.public byte getId()
public java.lang.String getName()
public java.lang.String getNameSpace()
public java.lang.String getLogLevelProperty()