I realized that was probably the case about 30 seconds after I posted my message @José. :) In fact I thought about simply deleting my message but left it up there in case I was wrong.
Ah well. At least I know I'm thinking along the right lines. oc On Thu, Dec 1, 2016 at 10:07 AM, José Valim <[email protected] > wrote: > While I get your point, there's also the common use case of logging >> messages; that is, I usually include the app name in case someone decides >> to log everything to the same log. There's also message displayed to the >> end user. I mean I usually put something in the message about exactly >> which app it is in case the end-user decides to capture a screen shot or >> something like that. For whatever it's worth, having a standardized >> variable like __APP__ would help with those use cases and make it a little >> easier to maintain. >> > > Logger automatically includes the application in the metadata. You don't > need to do anything besides configuring Logger to include it as part of the > logged metadata: > > config :logger, :console, metadata: [:application] > > > -- > You received this message because you are subscribed to a topic in the > Google Groups "elixir-lang-core" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/elixir-lang-core/jX9Pm2dTa-c/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/elixir-lang-core/CAGnRm4K5EvZvRumjHQrDQ9cOHjuL8 > J6MgmxiXDgOj492QwA2aA%40mail.gmail.com > <https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4K5EvZvRumjHQrDQ9cOHjuL8J6MgmxiXDgOj492QwA2aA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Onorio Catenacci http://onor.io http://www.google.com/+OnorioCatenacci -- 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/CAP%3DvNq_%2B_TjFE09LuYswPfpm1m85zA%2B0ibg7917aQ4xhCpKy%2Bw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
