Skip to content

Commit edfade1

Browse files
committed
doc: [readme] update sample code of Datadog logger
1 parent d3f8364 commit edfade1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ You can adding following block into `config/logging.php`.
8484
```php
8585
use Monolog\Formatter\JsonFormatter;
8686
use Onramplab\LaravelLogEnhancement\Handlers\DatadogHandler;
87+
use Onramplab\LaravelLogEnhancement\Processors\DatadogProcessor;
8788

8889
return [
8990
//...
@@ -106,6 +107,7 @@ return [
106107
],
107108
],
108109
'formatter' => JsonFormatter::class,
110+
'processors' => [DatadogProcessor::class],
109111
],
110112
]
111113
];

0 commit comments

Comments
 (0)