chmpxpx_set_debug_level_error
Sets log level to error
Description
function chmpxpx_set_debug_level_error(): void {}
Sets log level to ‘error’ level.
Parameters
This function has no parameters.
Return Values
No value is returned.
Examples
- Example 1 - Sets debug level to error
<?php
var_dump(chmpxpx_set_debug_file("/tmp/chmpx.log"));
chmpxpx_set_debug_level_error();
?>
The above example will output:
NULL
See Also
- chmpxpx_bump_debug_level - Changes the log level
- chmpxpx_set_debug_file - Writes log to the file
- chmpxpx_set_debug_level_message - Sets log level to info
- chmpxpx_set_debug_level_silent - Stops logging
- chmpxpx_set_debug_level_warning - Sets log level to warning
- chmpxpx_unset_debug_file - Writes logs to stderr