ConfigureLogging

class ConfigureLogging (View source)

Methods

void bootstrap(Application $app)

Bootstrap the given application.

Writer registerLogger(Application $app)

Register the logger instance in the container.

void configureHandlers(Application $app, Writer $log)

Configure the Monolog handlers for the application.

void configureSingleHandler(Application $app, Writer $log)

Configure the Monolog handlers for the application.

void configureDailyHandler(Application $app, Writer $log)

Configure the Monolog handlers for the application.

void configureSyslogHandler(Application $app, Writer $log)

Configure the Monolog handlers for the application.

void configureErrorlogHandler(Application $app, Writer $log)

Configure the Monolog handlers for the application.

Details

void bootstrap(Application $app)

Bootstrap the given application.

Parameters

Application $app

Return Value

void

protected Writer registerLogger(Application $app)

Register the logger instance in the container.

Parameters

Application $app

Return Value

Writer

protected void configureHandlers(Application $app, Writer $log)

Configure the Monolog handlers for the application.

Parameters

Application $app
Writer $log

Return Value

void

protected void configureSingleHandler(Application $app, Writer $log)

Configure the Monolog handlers for the application.

Parameters

Application $app
Writer $log

Return Value

void

protected void configureDailyHandler(Application $app, Writer $log)

Configure the Monolog handlers for the application.

Parameters

Application $app
Writer $log

Return Value

void

protected void configureSyslogHandler(Application $app, Writer $log)

Configure the Monolog handlers for the application.

Parameters

Application $app
Writer $log

Return Value

void

protected void configureErrorlogHandler(Application $app, Writer $log)

Configure the Monolog handlers for the application.

Parameters

Application $app
Writer $log

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.4/Illuminate/Foundation/Bootstrap/ConfigureLogging.html