public enum LoggerType extends Enum<LoggerType>
Enum Constant and Description |
---|
AUDIT
Audit logger only focus on security related events, usually logging how did what and when.
|
LOG
This type describes a common logger used to handle system and application events.
|
Modifier and Type | Method and Description |
---|---|
String |
getPrefix() |
static LoggerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoggerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggerType LOG
public static final LoggerType AUDIT
public static LoggerType[] values()
for (LoggerType c : LoggerType.values()) System.out.println(c);
public static LoggerType 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 getPrefix()
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.