public class ConsoleHandler extends Object
| Constructor and Description |
|---|
ConsoleHandler(String key) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
autoflush()
Automatically flush after each write.
|
ConsoleHandler |
autoflush(Boolean value)
Automatically flush after each write.
|
Boolean |
enabled()
If set to true the handler is enabled and functioning as normal, if set to false the handler is ignored when processing log messages.
|
ConsoleHandler |
enabled(Boolean value)
If set to true the handler is enabled and functioning as normal, if set to false the handler is ignored when processing log messages.
|
String |
encoding()
The character encoding used by this Handler.
|
ConsoleHandler |
encoding(String value)
The character encoding used by this Handler.
|
String |
filterSpec()
A filter expression value to define a filter.
|
ConsoleHandler |
filterSpec(String value)
A filter expression value to define a filter.
|
String |
formatter()
Defines a pattern for the formatter.
|
ConsoleHandler |
formatter(String value)
Defines a pattern for the formatter.
|
String |
getKey() |
String |
level()
The log level specifying which message levels will be logged by this logger.
|
ConsoleHandler |
level(String value)
The log level specifying which message levels will be logged by this logger.
|
String |
namedFormatter()
The name of the defined formatter to be used on the handler.
|
ConsoleHandler |
namedFormatter(String value)
The name of the defined formatter to be used on the handler.
|
String |
target()
Defines the target of the console handler.
|
ConsoleHandler |
target(String value)
Defines the target of the console handler.
|
public ConsoleHandler(String key)
public String getKey()
public Boolean autoflush()
public ConsoleHandler autoflush(Boolean value)
public Boolean enabled()
public ConsoleHandler enabled(Boolean value)
public String encoding()
public ConsoleHandler encoding(String value)
public String filterSpec()
public ConsoleHandler filterSpec(String value)
public String formatter()
public ConsoleHandler formatter(String value)
public String level()
public ConsoleHandler level(String value)
public String namedFormatter()
public ConsoleHandler namedFormatter(String value)
public String target()
public ConsoleHandler target(String value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.