Logger.warn → Logger.warning

Note: Logger.warning got added in Elixir 1.11.0
This commit is contained in:
Haelwenn (lanodan) Monnier 2023-07-02 22:46:20 +02:00 committed by Mark Felder
parent cb91dab75f
commit 8757c5e35a

View file

@ -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]
```