steffen-wirth
3/29/2019 - 9:30 AM

log to file without Logger class

$myfile = fopen("mylog.txt", "a+") or die("Unable to open file!");
fwrite($myfile,print_r($variable, true) . "\n-----------------------------------\n");
fclose($myfile);