formatting

This commit is contained in:
Taylor Otwell 2018-02-19 08:20:43 -06:00
parent 535e3b5c5c
commit 904b7a9adf
1 changed files with 2 additions and 3 deletions

View File

@ -146,8 +146,7 @@ To get started, define a `tap` array on the channel's configuration. The `tap` a
'level' => 'debug',
],
Once you have configured the `tap` option on your channel, you're ready to define the class that will customize your Monolog instance.
This class only needs a single method: `__invoke`, which receives an `Illuminate\Log\Logger` instance, that proxies all method calls to the underlying logger, i.e., Monolog:
Once you have configured the `tap` option on your channel, you're ready to define the class that will customize your Monolog instance. This class only needs a single method: `__invoke`, which receives an `Illuminate\Log\Logger` instance. The `Illuminate\Log\Logger` instance proxies all method calls to the underlying Monolog instance:
<?php
@ -156,7 +155,7 @@ This class only needs a single method: `__invoke`, which receives an `Illuminate
class CustomizeFormatter
{
/**
* Customize the given Monolog instance.
* Customize the given logger instance.
*
* @param \Illuminate\Log\Logger $logger
* @return void