k2hpx_set_common_attr k2hash Functions k2hpx_set_debug_level_error

k2hpx_set_debug_file

Writes log to the file

Description

bool k2hpx_set_debug_file ( string $filepath )

Writes log to the file.

Parameters

Return Values

Returns true on success or false on failure.

Examples

<?php
var_dump(k2hpx_set_debug_file("/tmp/k2h.log"));
?>

The above example will output:

NULL

See Also

k2hpx_set_common_attr k2hash Functions k2hpx_set_debug_level_error