File tree 4 files changed +6
-8
lines changed
4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 14
14
15
15
<!-- /TOC -->
16
16
17
- # Laravel and Lumen Extended Logging
17
+ # Laravel Extended Logging
18
18
19
19
Provide some ready-made logging extensions to make it easier to deploy
20
- Laravel and Lumen into multiple containers.
20
+ Laravel into multiple containers.
21
21
22
22
The main features are:
23
23
@@ -105,7 +105,7 @@ use Consilience\Laravel\ExtendedLogging\Tap as ExtendedTap;
105
105
106
106
``` php
107
107
'channels' => [
108
-
108
+
109
109
// Use this channel for running in a container.
110
110
// Sends all logs to stderr in a structured form, with additional metadata.
111
111
// Can be mixed in a stack with other channels.
@@ -121,7 +121,7 @@ use Consilience\Laravel\ExtendedLogging\Tap as ExtendedTap;
121
121
'formatter' => JsonFormatter::class,
122
122
'formatter_with' => [],
123
123
],
124
-
124
+
125
125
//...
126
126
],
127
127
```
@@ -212,7 +212,7 @@ whatever you use to capture and wrap the log messages.
212
212
"subsystem" : " admin-app"
213
213
},
214
214
},
215
- ```
215
+ ```
216
216
217
217
## TODO
218
218
Original file line number Diff line number Diff line change 7
7
*/
8
8
9
9
use Monolog \LogRecord ;
10
- use Monolog \ResettableInterface ;
11
10
use Monolog \Processor \ProcessorInterface ;
12
11
13
12
class AppNameProcessor implements ProcessorInterface
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public function __invoke(LogRecord $record)
25
25
return $ record ;
26
26
}
27
27
28
- public function reset ()
28
+ public function reset (): void
29
29
{
30
30
$ this ->userId = null ;
31
31
Original file line number Diff line number Diff line change 7
7
*/
8
8
9
9
use Monolog \LogRecord ;
10
- use Monolog \ResettableInterface ;
11
10
use Monolog \Processor \ProcessorInterface ;
12
11
use Consilience \Laravel \ExtendedLogging \LoggingService ;
13
12
You can’t perform that action at this time.
0 commit comments