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));
Parameters Summary
string $error_message
string $error_type = 'general'
string $file = NULL
int $line = NULL