k2hdkcpx_bump_debug_level
Changes the log level
Description
function k2hdkcpx_bump_debug_level(): void {}
Changes the log level by each call. The order is ‘error’ , ‘warning’ , ‘message’ (info), ‘dump’ (debug), ‘silent’ (no logging). The log level turns ‘error’ when calling the function in the ‘silent’ level.
Parameters
This function has no parameters.
Return Values
No value is returned.
Examples
php -r 'var_dump(k2hdkcpx_bump_debug_level());'
The above example will output:
NULL
See Also
- k2hdkcpx_set_debug_file - Writes log to the file
- k2hdkcpx_set_debug_level_error - Sets log level to error
- k2hdkcpx_set_debug_level_message - Sets log level to info
- k2hdkcpx_set_debug_level_silent - Stops logging
- k2hdkcpx_set_debug_level_warning - Sets log level to warning
- k2hdkcpx_unset_debug_file - Writes logs to stderr