Serializable
, Comparable<String>
, org.refcodes.mixin.KeyAccessor<String>
, org.refcodes.mixin.TypeAccessor
, org.refcodes.tabular.ColumnAccessor
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 extends Object>, org.refcodes.tabular.ColumnAccessor.ColumnProperty<T extends Object>
org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends Object>
org.refcodes.mixin.TypeAccessor.TypeBuilder<T extends Object,B extends org.refcodes.mixin.TypeAccessor.TypeBuilder<T,B>>, org.refcodes.mixin.TypeAccessor.TypeMutator<T extends Object>, org.refcodes.mixin.TypeAccessor.TypeProperty<T extends Object>
Modifier and Type | Method | 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) |
To exception logger field.
|
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_SESSION_ID
public static final LoggerField LOG_REQUEST_ID
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)
aPrintStackTrace
- the print stack tracepublic static org.refcodes.tabular.Column<?> fromKey(String aKey)
aKey
- The key for which to get the column.null
if none was found.Copyright © 2021. All rights reserved.