mirror of
https://github.com/mitchell/shortnr.git
synced 2025-12-17 05:17:22 +00:00
Refactor dets repo, dockerfile, and url type; add logger level func
This commit is contained in:
parent
faaf12ba42
commit
fe413d2a5e
5 changed files with 19 additions and 6 deletions
|
|
@ -5,4 +5,9 @@ config :service,
|
|||
|
||||
config :logger, :console,
|
||||
format: "date=$date time=$time level=$level$levelpad message=\"$message\" $metadata\n",
|
||||
metadata: [:port, :file, :line, :crash_reason, :stack]
|
||||
metadata: [:port, :file, :line, :crash_reason, :stack],
|
||||
level:
|
||||
(fn
|
||||
:prod -> :info
|
||||
_ -> :debug
|
||||
end).(Mix.env())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue