public enum LoggerField extends Enum<LoggerField> implements org.refcodes.tabular.ColumnAccessor, org.refcodes.mixin.KeyAccessor<String>, org.refcodes.mixin.TypeAccessor
Header
.org.refcodes.tabular.ColumnAccessor.ColumnMutator<T>, org.refcodes.tabular.ColumnAccessor.ColumnProperty<T>
Modifier and Type | Method and Description |
---|---|
static org.refcodes.tabular.Column<?> |
fromKey(String aKey)
Gets a predefined column by key (name).
|
org.refcodes.tabular.Column<?> |
getColumn() |
String |
getKey() |
Class<?> |
getType() |
static LoggerField |
toExceptionLoggerField(org.refcodes.tabular.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 final LoggerField LOG_CLASS_LINE_NUMBER
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 org.refcodes.tabular.Column<?> getColumn()
getColumn
in interface org.refcodes.tabular.ColumnAccessor
public String getKey()
getKey
in interface org.refcodes.mixin.KeyAccessor<String>
public Class<?> getType()
getType
in interface org.refcodes.mixin.TypeAccessor
public static LoggerField toExceptionLoggerField(org.refcodes.tabular.PrintStackTrace aPrintStackTrace)
public static org.refcodes.tabular.Column<?> fromKey(String aKey)
aKey
- The key for which to get the column.null
if none was found.Copyright © 2016. All rights reserved.