public enum ColumnLayout extends Enum<ColumnLayout>
ColumnLayout
modes.Enum Constant and Description |
---|
ANALYST
All information is displayed, no information is cut off, an analyst might
like it though it does not please your eyes any more.
|
DEVELOPER
Just the information is logged which classical loggers log, no method
name or line numbers or the like are logged.
|
DEVOPS
Some technical details may be omitted when logging though the
Correlation.SESSION ID and the Correlation.REQUEST ID
must not be omitted. |
END_USER
Most technical details may be omitted, focus is the logging of human
targeted information such a person using a command line tool which prints
out some nicely formatted status information.
|
GRANDPA
A fallback layout trying to log most available information with taking
information loss into account.
|
SUPERUSER
All available information is to be logged with minimal information loss.
|
Modifier and Type | Method and Description |
---|---|
static ColumnLayout |
toColumnLayout(String aValue)
Case insensitive convenience method for converting a
String to an
according enumeration. |
static ColumnLayout |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ColumnLayout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnLayout SUPERUSER
public static final ColumnLayout GRANDPA
ConsoleDimension.NORM_WIDTH
. This layout
might be chosen automatically in case the column width is not sufficient
for the other layouts.public static final ColumnLayout DEVELOPER
public static final ColumnLayout DEVOPS
Correlation.SESSION
ID and the Correlation.REQUEST
ID
must not be omitted. Focus is the logging of communication targeted
information (such as the correlation IDs).public static final ColumnLayout END_USER
public static final ColumnLayout ANALYST
public static ColumnLayout[] values()
for (ColumnLayout c : ColumnLayout.values()) System.out.println(c);
public static ColumnLayout 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 static ColumnLayout toColumnLayout(String aValue)
String
to an
according enumeration.aValue
- The String
to be converted.Copyright © 2018. All rights reserved.