public static enum AuditLogger.Status extends Enum<AuditLogger.Status>
Enum Constant and Description |
---|
DISABLE_NEXT
The logger will log one more record, after which it will switch to status
DISABLED . |
DISABLED
The logger is discarding any log requests, and any
queued requests have been discarded |
LOGGING
The logger is actively logging messages to an external store
|
QUEUEING
|
Modifier and Type | Method and Description |
---|---|
static AuditLogger.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuditLogger.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuditLogger.Status QUEUEING
public static final AuditLogger.Status LOGGING
public static final AuditLogger.Status DISABLE_NEXT
DISABLED
.
This status is set by an operation that is disabling logging, as a means of ensuring that operation
is itself logged.public static final AuditLogger.Status DISABLED
queued
requests have been discardedpublic static AuditLogger.Status[] values()
for (AuditLogger.Status c : AuditLogger.Status.values()) System.out.println(c);
public static AuditLogger.Status 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 nullCopyright © 2023 JBoss by Red Hat. All rights reserved.