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