| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private FileStrategy | |
| private RotateStrategy |
| Access | Constructor and Description |
|---|---|
| public | RotatingFileTarget(final Formatter
Formatter to be used formatter, final RotateStrategy RotateStrategy to be used rotateStrategy, final FileStrategy FileStrategy to be used fileStrategy)Construct RotatingFileTarget object. |
| public | RotatingFileTarget(final boolean
true if file is to be appended to, false otherwise append, final Formatter Formatter to be used formatter, final RotateStrategy RotateStrategy to be used rotateStrategy, final FileStrategy FileStrategy to be used fileStrategy)Construct RotatingFileTarget object. |
| Modifier and Type | Method and Description |
|---|---|
| protected synchronized void | |
| protected synchronized void | write(final String
the date to write to the target data)Overrides org. |
| m_append | back to summary |
|---|---|
| private boolean m_append | |
| m_fileStrategy | back to summary |
|---|---|
| private FileStrategy m_fileStrategy | |
| m_rotateStrategy | back to summary |
|---|---|
| private RotateStrategy m_rotateStrategy | |
| RotatingFileTarget | back to summary |
|---|---|
| public RotatingFileTarget(final Formatter formatter, final RotateStrategy rotateStrategy, final FileStrategy fileStrategy) throws IOException Construct RotatingFileTarget object.
| |
| RotatingFileTarget | back to summary |
|---|---|
| public RotatingFileTarget(final boolean append, final Formatter formatter, final RotateStrategy rotateStrategy, final FileStrategy fileStrategy) throws IOException Construct RotatingFileTarget object.
| |
| rotate | back to summary |
|---|---|
| protected synchronized void rotate() throws IOException Rotates the file.
| |
| write | back to summary |
|---|---|
| protected synchronized void write(final String data) Overrides org. Output the log message, and check if rotation is needed.
| |