Logger.warn → Logger.warning
Note: Logger.warning got added in Elixir 1.11.0
This commit is contained in:
parent
cb91dab75f
commit
8757c5e35a
@ -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]
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user