Public Member Functions | |
RolloverDescription () | |
RolloverDescription (const LogString &activeFileName, const bool append, const ActionPtr &synchronous, const ActionPtr &asynchronous) | |
Create new instance. | |
LogString | getActiveFileName () const |
Active log file name after rollover. | |
bool | getAppend () const |
ActionPtr | getSynchronous () const |
Action to be completed after close of current active log file before returning control to caller. | |
ActionPtr | getAsynchronous () const |
Action to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously. |
RolloverDescription | ( | const LogString & | activeFileName, | |
const bool | append, | |||
const ActionPtr & | synchronous, | |||
const ActionPtr & | asynchronous | |||
) |
Create new instance.
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. |
LogString getActiveFileName | ( | ) | const |
Active log file name after rollover.
bool getAppend | ( | ) | const |
ActionPtr getSynchronous | ( | ) | const |
Action to be completed after close of current active log file before returning control to caller.
ActionPtr getAsynchronous | ( | ) | const |
Action to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously.