public static enum ConsoleAppender.Target extends Enum<ConsoleAppender.Target>
Enum Constant and Description |
---|
SYSTEM_ERR
Standard error output.
|
SYSTEM_OUT
Standard output.
|
Modifier and Type | Method and Description |
---|---|
protected Charset |
getCharset(String property) |
abstract Charset |
getDefaultCharset() |
static ConsoleAppender.Target |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsoleAppender.Target[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsoleAppender.Target SYSTEM_OUT
public static final ConsoleAppender.Target SYSTEM_ERR
public static ConsoleAppender.Target[] values()
for (ConsoleAppender.Target c : ConsoleAppender.Target.values()) System.out.println(c);
public static ConsoleAppender.Target 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 abstract Charset getDefaultCharset()
Copyright © 1999-2017. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.