Cartflows_Log_Handler_File::log_rotate( string $handle )
Rotate log files.
Description
Logs are rotated by prepending ‘.x’ to the ‘.log’ suffix. The current log plus 10 historical logs are maintained. For example: base.9.log -> [ REMOVED ] base.8.log -> base.9.log … base.0.log -> base.1.log base.log -> base.0.log
Parameters
- $handle
-
(string) (Required) Log handle.
Source
File: classes/logger/class-cartflows-log-handler-file.php