public class CustomHandler extends Object
| Constructor and Description |
|---|
CustomHandler(String key) |
| Modifier and Type | Method and Description |
|---|---|
String |
attributeClass()
The logging handler class to be used.
|
CustomHandler |
attributeClass(String value)
The logging handler class to be used.
|
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.
|
CustomHandler |
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.
|
CustomHandler |
encoding(String value)
The character encoding used by this Handler.
|
String |
filterSpec()
A filter expression value to define a filter.
|
CustomHandler |
filterSpec(String value)
A filter expression value to define a filter.
|
String |
formatter()
Defines a pattern for the formatter.
|
CustomHandler |
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.
|
CustomHandler |
level(String value)
The log level specifying which message levels will be logged by this logger.
|
String |
module()
The module that the logging handler depends on.
|
CustomHandler |
module(String value)
The module that the logging handler depends on.
|
String |
namedFormatter()
The name of the defined formatter to be used on the handler.
|
CustomHandler |
namedFormatter(String value)
The name of the defined formatter to be used on the handler.
|
Map |
properties()
Defines the properties used for the logging handler.
|
CustomHandler |
properties(Map value)
Defines the properties used for the logging handler.
|
public CustomHandler(String key)
public String getKey()
public String attributeClass()
public CustomHandler attributeClass(String value)
public Boolean enabled()
public CustomHandler enabled(Boolean value)
public String encoding()
public CustomHandler encoding(String value)
public String filterSpec()
public CustomHandler filterSpec(String value)
public String formatter()
public CustomHandler formatter(String value)
public String level()
public CustomHandler level(String value)
public String module()
public CustomHandler module(String value)
public String namedFormatter()
public CustomHandler namedFormatter(String value)
public Map properties()
public CustomHandler properties(Map value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.