#include <rolloverdescription.h>
◆ RolloverDescription() [1/2]
log4cxx::rolling::RolloverDescription::RolloverDescription |
( |
| ) |
|
◆ RolloverDescription() [2/2]
log4cxx::rolling::RolloverDescription::RolloverDescription |
( |
const LogString & |
activeFileName, |
|
|
const bool |
append, |
|
|
const ActionPtr & |
synchronous, |
|
|
const ActionPtr & |
asynchronous |
|
) |
| |
Create new instance.
- Parameters
-
activeFileName | active log file name after rollover, may not be null. |
append | true if active log file after rollover should be opened for appending. |
synchronous | action to be completed after close of current active log file, may be null. |
asynchronous | action to be completed after close of current active log file and before next rollover attempt. |
◆ getActiveFileName()
LogString log4cxx::rolling::RolloverDescription::getActiveFileName |
( |
| ) |
const |
Active log file name after rollover.
- Returns
- active log file name after rollover.
◆ getAppend()
bool log4cxx::rolling::RolloverDescription::getAppend |
( |
| ) |
const |
◆ getAsynchronous()
ActionPtr log4cxx::rolling::RolloverDescription::getAsynchronous |
( |
| ) |
const |
Action to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously.
- Returns
- action, may be null.
◆ getSynchronous()
ActionPtr log4cxx::rolling::RolloverDescription::getSynchronous |
( |
| ) |
const |
Action to be completed after close of current active log file before returning control to caller.
- Returns
- action, may be null.
The documentation for this class was generated from the following file: