I am trying to do var_dump from the controller to my log file, and Im left an empty line.
Here is the code inside my controller:
$checked = 'test error';
log_message('error', var_dump($checked));
In my log file, I get:
ERROR - 2014-06-23 12:30:34 β
I can get the result:
$checked = 'test error';
log_message('error', $checked);
So this should be the problem with var_dump ()?
Any ideas? Thanks for the help.
source
share