sfw_debug_log

Description

Trigger an error at runtime.

Use sfw_log() for logging general information in debug mode instead.

Since: 1.0.0

For further information see: error_log

Code

<?php function sfw_debug_log( $message, $function = '' ){ 
	 … 
 } ?>

Parameter

$message
(string|callable) A message string or function that returns a message string. Wrapping extensive functions (like var_export) in an anonymous function is about 10x faster when debugging is off
$function
(string) calling FUNCTION or METHOD

Default: ''

Return

Seems like the return value of this function is not yet documented.

File

core/debug.php