public static enum LogMessageField.NamedLogField extends Enum<LogMessageField.NamedLogField>
Enum Constant and Description |
---|
LoggerName |
Marker |
NDC |
Server |
Severity |
SourceClassName |
SourceLineNumber |
SourceMethodName |
SourceSimpleClassName |
ThreadName |
Time |
Modifier and Type | Method and Description |
---|---|
static LogMessageField.NamedLogField |
byName(String name) |
String |
getFieldName() |
static LogMessageField.NamedLogField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogMessageField.NamedLogField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogMessageField.NamedLogField Time
public static final LogMessageField.NamedLogField Severity
public static final LogMessageField.NamedLogField ThreadName
public static final LogMessageField.NamedLogField SourceClassName
public static final LogMessageField.NamedLogField SourceSimpleClassName
public static final LogMessageField.NamedLogField SourceMethodName
public static final LogMessageField.NamedLogField SourceLineNumber
public static final LogMessageField.NamedLogField Server
public static final LogMessageField.NamedLogField LoggerName
public static final LogMessageField.NamedLogField Marker
public static final LogMessageField.NamedLogField NDC
public static LogMessageField.NamedLogField[] values()
for (LogMessageField.NamedLogField c : LogMessageField.NamedLogField.values()) System.out.println(c);
public static LogMessageField.NamedLogField valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getFieldName()
public static LogMessageField.NamedLogField byName(String name)
Copyright © 2013–2023. All rights reserved.