public enum LoggerField extends Enum<LoggerField> implements ColumnAccessor, KeyAccessor<String>, TypeAccessor
Header
.ColumnAccessor.ColumnMutator<T>, ColumnAccessor.ColumnProperty<T>
KeyAccessor.KeyBuilder<K,B extends KeyAccessor.KeyBuilder<K,B>>, KeyAccessor.KeyMutator<K>, KeyAccessor.KeyProperty<K>
TypeAccessor.TypeMutator, TypeAccessor.TypeProperty
Enum Constant and Description |
---|
LOG_COMPACT_STACKTRACE_EXCEPTION |
LOG_DATE |
LOG_EXPLODED_STACKTRACE_EXCEPTION |
LOG_FULLY_QUALIFIED_CLASS_NAME |
LOG_LINE_NUMBER |
LOG_MESSAGE |
LOG_METHODE_NAME |
LOG_NONE_STACKTRRACE_EXCEPTION |
LOG_PRIORITY |
LOG_THREAD_NAME |
Modifier and Type | Method and Description |
---|---|
static Column<?> |
fromKey(String aKey)
Gets a predefined column by key (name).
|
Column<?> |
getColumn() |
String |
getKey() |
Class<?> |
getType() |
static LoggerField |
toExceptionLoggerField(PrintStackTrace aPrintStackTrace) |
static LoggerField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoggerField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggerField LOG_LINE_NUMBER
public static final LoggerField LOG_PRIORITY
public static final LoggerField LOG_DATE
public static final LoggerField LOG_THREAD_NAME
public static final LoggerField LOG_MESSAGE
public static final LoggerField LOG_NONE_STACKTRRACE_EXCEPTION
public static final LoggerField LOG_COMPACT_STACKTRACE_EXCEPTION
public static final LoggerField LOG_EXPLODED_STACKTRACE_EXCEPTION
public static final LoggerField LOG_FULLY_QUALIFIED_CLASS_NAME
public static final LoggerField LOG_METHODE_NAME
public static LoggerField[] values()
for (LoggerField c : LoggerField.values()) System.out.println(c);
public static LoggerField 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 Column<?> getColumn()
getColumn
in interface ColumnAccessor
public String getKey()
getKey
in interface KeyAccessor<String>
public Class<?> getType()
getType
in interface TypeAccessor
public static LoggerField toExceptionLoggerField(PrintStackTrace aPrintStackTrace)
Copyright © 2016. All rights reserved.