true, /* |-------------------------------------------------------------------------- | Error Logging |-------------------------------------------------------------------------- | | Error Logging will use the "logger" function defined below to log error | messages, which gives you complete freedom to determine how error | messages are logged. Enjoy the flexibility. | */ 'log' => false, /* |-------------------------------------------------------------------------- | Error Logger |-------------------------------------------------------------------------- | | Because of the various ways of managing error logging, you get complete | flexibility to manage error logging as you see fit. | | This function will be called when an error occurs in your application. | You can log the error however you like. | | The error "severity" passed to the method is a human-readable severity | level such as "Parsing Error" or "Fatal Error". | | A simple logging system has been setup for you. By default, all errors | will be logged to the storage/log.txt file. | */ 'logger' => function($severity, $message, $trace) { File::append(STORAGE_PATH.'log.txt', date('Y-m-d H:i:s').' '.$severity.' - '.$message.PHP_EOL); }, );