An open API service indexing awesome lists of open source software.

https://github.com/elixir-metadata-logger/metadata_logger

Logging with metadata
https://github.com/elixir-metadata-logger/metadata_logger

elixir hacktoberfest json logger

Last synced: 6 months ago
JSON representation

Logging with metadata

Awesome Lists containing this project

README

          

# MetadataLogger

Logging with metadata.

## Installation

The package can be installed by adding `metadata_logger` to your list of dependencies in `mix.exs`:

```elixir
def deps do
[{:metadata_logger, "~> 0.2"}]
end
```

## Configuration

```elixir
config :logger, :console,
level: :debug,
format: {MetadataLogger, :format},
colors: [enabled: false],
metadata: :all,
truncate: :infinity,
utc_log: true
```

Full documentation can be found at [https://hexdocs.pm/metadata_logger](https://hexdocs.pm/metadata_logger).