public class FileHandler extends Object
| Constructor and Description |
|---|
FileHandler(String key) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
append()
Specify whether to append to the target file.
|
FileHandler |
append(Boolean value)
Specify whether to append to the target file.
|
Boolean |
autoflush()
Automatically flush after each write.
|
FileHandler |
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.
|
FileHandler |
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.
|
FileHandler |
encoding(String value)
The character encoding used by this Handler.
|
Map |
file()
The file description consisting of the path and optional relative to path.
|
FileHandler |
file(Map value)
The file description consisting of the path and optional relative to path.
|
String |
filterSpec()
A filter expression value to define a filter.
|
FileHandler |
filterSpec(String value)
A filter expression value to define a filter.
|
String |
formatter()
Defines a pattern for the formatter.
|
FileHandler |
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.
|
FileHandler |
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.
|
FileHandler |
namedFormatter(String value)
The name of the defined formatter to be used on the handler.
|
public FileHandler(String key)
public String getKey()
public Boolean append()
public FileHandler append(Boolean value)
public Boolean autoflush()
public FileHandler autoflush(Boolean value)
public Boolean enabled()
public FileHandler enabled(Boolean value)
public String encoding()
public FileHandler encoding(String value)
public Map file()
public FileHandler file(Map value)
public String filterSpec()
public FileHandler filterSpec(String value)
public String formatter()
public FileHandler formatter(String value)
public String level()
public FileHandler level(String value)
public String namedFormatter()
public FileHandler namedFormatter(String value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.