Package org.eclipse.persistence.logging
Enum LogCategory
- All Implemented Interfaces:
Serializable,Comparable<LogCategory>
EclipseLink categories used for logging name space.
The EclipseLink categories for the logging name space are:
| 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 Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbytegetId()Get logging category ID.Get log level property name for this logging category.getName()Get logging category name.Get logger name space for this logging category.static final LogCategoryReturnsLogCategoryobject holding the value of the specifiedString.static LogCategoryReturns 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.
-
Enum Constant Details
-
ALL
-
CACHE
-
CONNECTION
-
DDL
-
DMS
-
EJB
-
EVENT
-
JPA
-
JPARS
-
METADATA
-
METAMODEL
-
MISC
-
MONITORING
-
MOXY
-
PROCESSOR
-
PROPAGATION
-
PROPERTIES
-
QUERY
-
SEQUENCING
-
SERVER
-
SQL
-
TRANSACTION
-
WEAVER
-
THREAD
-
-
Field Details
-
length
public static final int lengthLogging categories enumeration length.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
toValue
ReturnsLogCategoryobject holding the value of the specifiedString.- Parameters:
name- TheStringto be parsed.- Returns:
LogCategoryobject holding the value represented by the string argument ornullwhen there exists no correspondingLogCategoryobject to provided argument value.nullvalue of the string argument is converted toALL.
-
getId
public byte getId()Get logging category ID.- Returns:
- Logging category ID.
-
getName
Get logging category name.- Returns:
- Logging category name.
-
getNameSpace
Get logger name space for this logging category.- Returns:
- Logger name space for this logging category.
-
getLogLevelProperty
Get log level property name for this logging category.- Returns:
- Log level property name for this logging category.
-