Browse Source

Updated README.md

main v1.3
Dustin Wilson 3 months ago
parent
commit
051d84d667
  1. 3
      README.md

3
README.md

@ -10,6 +10,7 @@
[j]: https://github.com/symfony/polyfill/tree/main/src/Mbstring
[k]: https://github.com/php-fig/log
[l]: https://ndjson.org
[m]: https://jsonlines.org
# Logger #
@ -356,7 +357,7 @@ function (string $time, int $level, string $levelName, string $channel, string $
<dd>The context array used when dispatching the entry</dd>
</dl>
Here is an example of how to use the _entryTransform_ option to output entries to `php://stdout` as [NDJSON][l]:
Here is an example of how to use the _entryTransform_ option to output entries to `php://stdout` as [JSONLines][m]/[NDJSON][l]/whatever (ugh):
```php
use MensBeam\Logger,

Loading…
Cancel
Save