Rotate the log file when its size exceeds the specified size.
Declared in <ball_fileobserver.h>
void
rotateOnSize(int size);
Set this file observer to perform log file rotation when the size of the file exceeds the specified size (in kilobytes). This rule replaces any rotation-on-size rule currently in effect. The behavior is undefined unless size > 0.
| Name | Description |
|---|---|
| size | maximum log file size in kilobytes before rotation |