From 051d84d667431f1e55a962252766c9f48405047e Mon Sep 17 00:00:00 2001 From: Dustin Wilson Date: Sun, 4 Feb 2024 10:28:51 -0600 Subject: [PATCH] Updated README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ca3767e..7af9f60 100644 --- a/README.md +++ b/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 $
The context array used when dispatching the entry
-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,