commit: 8757c5e35aea813f0ea82e2f9e8075282207d91c
parent cb91dab75f70ade96028c32e270a27352c41714e
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 2 Jul 2023 22:46:20 +0200
Logger.warn → Logger.warning
Note: Logger.warning got added in Elixir 1.11.0
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/configuration/cheatsheet.md b/docs/configuration/cheatsheet.md
@@ -853,7 +853,7 @@ config :logger,
backends: [{ExSyslogger, :ex_syslogger}]
config :logger, :ex_syslogger,
- level: :warn
+ level: :warning
```
Another example, keeping console output and adding the pid to syslog output:
@@ -862,7 +862,7 @@ config :logger,
backends: [:console, {ExSyslogger, :ex_syslogger}]
config :logger, :ex_syslogger,
- level: :warn,
+ level: :warning,
option: [:pid, :ndelay]
```