Skip to content

Conversation

@chulkilee
Copy link
Collaborator

@chulkilee chulkilee commented Oct 11, 2020

Use Erlang logger level

Elixir 1.11 introduces erl_level in metadata to put the correct level, while passing old level for backward compatibility.

Use the "correct" logger level, if found (e.g. in Elixir 1.11)

This will change the level from output json

  • Add tests

Use Erlang time

Erlang actually put time metadata - which is unix timestamp with microsecond - so we can get DateTime - while Elixir Logger passes {date, time} tuples which does not have timezone.

Let's use the timestamp from erlang - under the same key (timestamp) for now.

This will change the format of timestamp - adding Z

  • Add tests

@chulkilee chulkilee changed the base branch from master to main November 29, 2020 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants