I felt that in my skin on my previous work. We had many different Elixir 
apps, each one used a different library, each library was missing some 
feature or had some bug, each library was forked to fill the missing gap, 
every fork wasn't great.

Em quarta-feira, 9 de dezembro de 2020 às 18:13:25 UTC, [email protected] 
escreveu:

> This is something that can/should be done in a library, but there’s a 
> number of incomplete, outdated, or half-finished JSON formatters on hex.pm 
> and there is probably a good opportunity for an opinionated `Nimble` 
> library…
>
> -a
>
> On Wed, Dec 9, 2020 at 1:04 AM José Valim <[email protected]> wrote:
>
>> Hi Blake, Logger already provides a custom formatter and you can replace 
>> the formatter to emit JSON instead.
>>
>> We don't intend to include a JSON specific formatter by default because 
>> this is something that can be trivially done as a library (and there is no 
>> benefit doing it from core itself compared to a lib).
>>
>> On Wed, Dec 9, 2020 at 4:27 AM Blake Kostner <[email protected]> wrote:
>>
>>> Considered the growth of structured logging, it would be really nice if 
>>> elixir included a JSON Logger backend by default. This would be very basic 
>>> and not include any weird paths or third party service specific fields, but 
>>> it would wrap up multi line outputs (like stack traces) to a single line 
>>> for easier parsing.
>>>
>>> I would also note that this backend would have to take the 
>>> `json_library` option (similar to other packages) in the configuration to 
>>> avoid bringing all of that stuff to core.
>>>
>>> -- 
>>> 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/38c7eba9-9b58-47c4-be2e-061e9991f8adn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/elixir-lang-core/38c7eba9-9b58-47c4-be2e-061e9991f8adn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
>> 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/CAGnRm4J7UfH9hcvVWnZ%2B%3DFzo%2BeG9XqdbspwtAFQM2MdVR0_H9Q%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4J7UfH9hcvVWnZ%2B%3DFzo%2BeG9XqdbspwtAFQM2MdVR0_H9Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Austin Ziegler • [email protected][email protected]
> http://www.halostatue.ca/http://twitter.com/halostatue
>

-- 
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/9ffc4fb3-19aa-47c6-adb0-cd5124357bc4n%40googlegroups.com.

Reply via email to