CozyLogger
Logging helpers, providing various formatters and seamless integrations with other libraries.
Features
- Formatters
- JSON Formatter
- ...
- Integrations
- Phoenix
- Ecto
- ...
Installation
Add package_name to the list of dependencies in mix.exs:
def deps do
[
{:cozy_logger, "~> <version>"}
]
end
Usage
For more information, see the documentation.
About the design
- The formatters are only responsible for formatting, they do not handle any vendor-specific formats.
- The integrations process telemetry events to print logs, and provide
install/0orinstall/1functions for convenient initialization.
License
Apache License 2.0