public class SizeRotatingFileHandler<T extends SizeRotatingFileHandler<T>> extends Object
Constructor and Description |
---|
SizeRotatingFileHandler(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Boolean |
append()
Specify whether to append to the target file.
|
T |
append(Boolean value)
Specify whether to append to the target file.
|
Boolean |
autoflush()
Automatically flush after each write.
|
T |
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.
|
T |
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.
|
T |
encoding(String value)
The character encoding used by this Handler.
|
Map |
file()
The file description consisting of the path and optional relative to
path.
|
T |
file(Map value)
The file description consisting of the path and optional relative to
path.
|
T |
file(String key,
Object value)
The file description consisting of the path and optional relative to
path.
|
String |
filterSpec()
A filter expression value to define a filter.
|
T |
filterSpec(String value)
A filter expression value to define a filter.
|
String |
formatter()
Defines a pattern for the formatter.
|
T |
formatter(String value)
Defines a pattern for the formatter.
|
String |
getKey() |
Level |
level()
The log level specifying which message levels will be logged by this
logger.
|
T |
level(Level value)
The log level specifying which message levels will be logged by this
logger.
|
Integer |
maxBackupIndex()
The maximum number of backups to keep.
|
T |
maxBackupIndex(Integer value)
The maximum number of backups to keep.
|
String |
name()
The name of the handler.
|
T |
name(String value)
The name of the handler.
|
String |
namedFormatter()
The name of the defined formatter to be used on the handler.
|
T |
namedFormatter(String value)
The name of the defined formatter to be used on the handler.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Boolean |
rotateOnBoot()
Indicates the file should be rotated each time the file attribute is
changed.
|
T |
rotateOnBoot(Boolean value)
Indicates the file should be rotated each time the file attribute is
changed.
|
String |
rotateSize()
The size at which to rotate the log file.
|
T |
rotateSize(String value)
The size at which to rotate the log file.
|
String |
suffix()
Set the suffix string.
|
T |
suffix(String value)
Set the suffix string.
|
public SizeRotatingFileHandler(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Boolean append()
public Boolean autoflush()
public Boolean enabled()
public T enabled(Boolean value)
public String encoding()
public Map file()
public T file(Map value)
public T file(String key, Object value)
public String filterSpec()
public T filterSpec(String value)
public String formatter()
public Level level()
public T level(Level value)
public Integer maxBackupIndex()
public String name()
public String namedFormatter()
public T namedFormatter(String value)
public Boolean rotateOnBoot()
public T rotateOnBoot(Boolean value)
public String rotateSize()
public String suffix()
Copyright © 2019 JBoss by Red Hat. All rights reserved.