java.io.Serializable, java.lang.Comparable<SignalLogger>@Private @Unstable public enum SignalLogger extends java.lang.Enum<SignalLogger>
| Enum Constant | Description |
|---|---|
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
void |
register(org.slf4j.Logger log) |
Register some signal handlers.
|
static SignalLogger |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SignalLogger[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignalLogger INSTANCE
public static SignalLogger[] values()
for (SignalLogger c : SignalLogger.values()) System.out.println(c);
public static SignalLogger valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic void register(org.slf4j.Logger log)
log - The log4j logfile to use in the signal handlers.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.