Hi there,
so i don't think this is possible but feel free to tell me otherwise, id
love to be able to do something like this:
#config.exs
config :logger, format:"foobar"
and have that applied to all of my logger backends currently I am having to
specify the format for each of my backends like so:
#config.exs
config :logger, :console, format: "$message\n"
#prod.exs
config :logger,
backends: [{LoggerFileBackend, :file}]
config :logger, :file,
path: "/var/log/component/error.log",
format: "$message\n",
level: :error
Apologies if this is something I have overlooked, but if not I think this
would be a great feature.
Thanks,
Joe
--
You received this message because you are subscribed to the Google Groups
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elixir-lang-core/3b9ec784-570a-43a8-a52c-b4dfb179f7ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.