rotatory_trunk()

rotatory_trunk()#

rotatory_trunk() truncates the log file associated with the given hrotatory_h handle. If hr is NULL, it truncates all active log files.

Prototype

void rotatory_trunk(
    hrotatory_h hr
);

Parameters

Key

Type

Description

hr

hrotatory_h

Handle to the rotatory log. If NULL, all log files are truncated.


Return Value

This function does not return a value.

Notes

If hr is NULL, rotatory_trunk() iterates over all active log handles and truncates each log file.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples