MetaLogger
Wrapper for Elixir.Logger that keeps logger metadata from caller processes.
Installation
The package is available in Hex, and can be installed
by adding meta_logger
to your list of dependencies in mix.exs
:
def deps do
[
{:meta_logger, "~> 0.1.0"}
]
end
Documentation is generated with ExDoc and published on HexDocs. The docs can be found at https://hexdocs.pm/meta_logger.
Usage
Just replace Logger
with MetaLogger
, there's no need to require it before using:
MetaLogger.[debug|error|info|log|warn](...)
Release
After merge a new feature/bug you can bump and publish it with:
make release
make publish
License
meta_logger
source code is released under Apache 2 License. Check the LICENSE file for more information.