PHP Class Bugsnag\BugsnagLaravel\LaravelLogger

Inheritance: extends Bugsnag\PsrLogger\BugsnagLogger, implements Illuminate\Contracts\Logging\Log
Mostrar archivo Open project: bugsnag/bugsnag-laravel

Public Methods

Method Description
useDailyFiles ( string $path, integer $days, string $level = 'debug' ) : void Register a daily file log handler.
useFiles ( string $path, string $level = 'debug' ) : void Register a file log handler.

Protected Methods

Method Description
formatMessage ( mixed $message ) : string Format the parameters for the logger.

Method Details

formatMessage() protected method

Format the parameters for the logger.
protected formatMessage ( mixed $message ) : string
$message mixed
return string

useDailyFiles() public method

Register a daily file log handler.
public useDailyFiles ( string $path, integer $days, string $level = 'debug' ) : void
$path string
$days integer
$level string
return void

useFiles() public method

Register a file log handler.
public useFiles ( string $path, string $level = 'debug' ) : void
$path string
$level string
return void