Skip to content

Commit bf2ac68

Browse files
Readme update.
Signed-off-by: Johannes Tegnér <johannes@jitesoft.com>
1 parent 721b73d commit bf2ac68

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ To use the logger in your own code, just call the `Jitesoft\Wordpress\Plugins\Lo
2020
which will return a PSR logger to use!
2121

2222
The PSR Logger in the implementation currently only uses a STD logger (stdout and stderr) but
23-
it's a "multi logger" (see [jitesoft/logger](https://packagist.org/packages/jitesoft/loggers) for more information) which allow you to add more loggers
24-
to it if needed.
23+
it's a "multi logger" (see [jitesoft/logger](https://packagist.org/packages/jitesoft/loggers) for more information)
24+
which allow you to add more loggers if needed.
25+
26+
By setting the `WP_LOGGER_FORMAT` environment variable to `json`, the logger will use json output instead
27+
of standard text.
2528

2629
In future versions, more loggers might be added.
2730

0 commit comments

Comments
 (0)