core/Exception/ExceptionHandler.php
private static function logObject( $obj )
	{
		$path = config('system.errors.save_dir');
		if ($path != null) {
			if (!is_dir($path)) {
				@mkdir($path, 0755);
			}
			$name = strftime(config('system.errors.file_name'));
			if($name != '' && @touch($path.DIRECTORY_SEPARATOR.$name)){
				@error_log(PHP_EOL . $obj . PHP_EOL, 3, $path.DIRECTORY_SEPARATOR.$name);
			} else {
				@error_log(PHP_EOL . $obj . PHP_EOL, 0);
			}
		}
	}
private static function logObject( $obj )
	{
		$path = config('system.errors.save_dir');
		if ($path != null) {
			if (!is_dir($path)) {
				@mkdir($path, 0755);
			}
			$name = strftime(config('system.errors.file_name'));
			if($name != '' && @touch($path.DIRECTORY_SEPARATOR.$name)){
				@error_log(PHP_EOL . $obj . PHP_EOL, 3, $path.DIRECTORY_SEPARATOR.$name);
			} else {
				@error_log(PHP_EOL . $obj . PHP_EOL, 0);
			}
		}
	}
private static function logObject ( $ obj ) { $ path = config ( 'system.errors.save_dir' ) ; if ( $ path != null ) { if ( ! is_dir ( $ path ) ) { @ mkdir ( $ path , 0755 ) ; } $ name = strftime ( config ( 'system.errors.file_name' ) ) ; if ( $ name != '' && @ touch ( $ path . DIRECTORY_SEPARATOR . $ name ) ) { @ error_log ( PHP_EOL . $ obj . PHP_EOL , 3 , $ path . DIRECTORY_SEPARATOR . $ name ) ; } else { @ error_log ( PHP_EOL . $ obj . PHP_EOL , 0 ) ; } } }
Efetua o log do erro nos registros

@param \Exception $obj
Efetua o log do erro nos registros