rotatory_flush()
#
rotatory_flush()
flushes the buffered log data to the corresponding log file. If hr
is NULL
, it flushes all active log files.
Prototype
void rotatory_flush(
hrotatory_h hr
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
Handle to the rotatory log instance. If |
Return Value
This function does not return a value.
Notes
Flushing ensures that all buffered log data is written to disk, reducing the risk of data loss in case of a crash.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples