public enum LogMode extends java.lang.Enum<LogMode>
StandardErrorStreamLog
and the StandardOutputStreamLog.| Enum Constant and Description |
|---|
LOG_AND_WRITE_TO_STREAM
Record the writes while they are still written to the stream.
|
LOG_ONLY
Capture the writes to the stream.
|
| Modifier and Type | Method and Description |
|---|---|
static LogMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogMode LOG_ONLY
public static final LogMode LOG_AND_WRITE_TO_STREAM
public static LogMode[] values()
for (LogMode c : LogMode.values()) System.out.println(c);
public static LogMode 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 nullCopyright © 2011-2015. All Rights Reserved.