Function log_error
Log an error, if the error logging is enabled. filename and line should be FILE and LINE, respectively. Example use: die(log_error($msg));
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Errors.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Errors.php
string |
$error_message |
The message to log |
string|boolean |
$error_type = 'general' |
The type of error |
string |
$file = null |
The name of the file where this error occurred |
integer |
$line = null |
The line where the error occurred |
string
|
The message that was logged |