k2hpx_bump_debug_level
Changes the log level
Description
void k2hpx_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
- Example 1 - Changes the log level
<?php
var_dump(k2hpx_bump_debug_level());
?>
The above example will output:
NULL
See Also
- k2hpx_set_debug_file - Writes log to the file
- k2hpx_set_debug_level_error - Sets log level to error
- k2hpx_set_debug_level_message - Sets log level to info
- k2hpx_set_debug_level_silent - Stops logging
- k2hpx_set_debug_level_warning - Sets log level to warning
- k2hpx_unset_debug_file - Writes logs to stderr