k2hdkcpx_set_debug_file
Specify the file to output message
Description
function k2hdkcpx_set_debug_file(string $filepath): bool {}
Specify the file to output message.
Parameters
This function has no parameters.
Return Values
Returns true
on success, false
otherwise.
Examples
php -r 'var_dump(k2hdkcpx_set_debug_file("/dev/null"));'
The above example will output:
bool(true)
See Also
- k2hdkcpx_bump_debug_level - Changes the log level
- k2hdkcpx_load_debug_env - Sets a message output and output destination according to the value
- k2hdkcpx_set_debug_file - Specify the file to output message
- k2hdkcpx_set_debug_level_dump - Sets a message output level to dump
- k2hdkcpx_set_debug_level_error - Sets a message output level to error
- k2hdkcpx_set_debug_level_message - Sets a message output level to message
- k2hdkcpx_set_debug_level_silent - Sets a message output level to silent
- k2hdkcpx_set_debug_level_warning - Sets a message output level to warning
- k2hdkcpx_unset_debug_file - Sets output messages to stderr