https://github.com/sahneedev/sahnee.logger
The Sahnee.Logger application contains several helper modules to enable logging in a sahnee project.
https://github.com/sahneedev/sahnee.logger
Last synced: about 1 year ago
JSON representation
The Sahnee.Logger application contains several helper modules to enable logging in a sahnee project.
- Host: GitHub
- URL: https://github.com/sahneedev/sahnee.logger
- Owner: SahneeDEV
- Created: 2021-02-10T18:55:56.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-15T20:19:33.000Z (about 5 years ago)
- Last Synced: 2025-02-08T08:17:17.182Z (about 1 year ago)
- Language: Elixir
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sahnee.Logger
The Sahnee.Logger application contains several helper modules to enable logging in a sahnee project.
- **Sahnee.Logger.metadata_block**: A macro that can be used to set logger metadata when entering a code block and automatically clear it after leaving it.
- **Sahnee.Logger.MeatbagFormatter**: A log formatter for better console output of log data optimized for human readability.
- **Sahnee.Logger.JsonFormatter**: A log formatter outputting JSON logs for optimial consuption by other services. No data is lost when creating JSON logs.
## Installation
The package can be installed by adding `sahnee_logger` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:sahnee_logger, git: "ssh://git@github.com:Sahnee-DE/Sahnee.Logger.git", tag: ""}
]
end
```
Please make sure to replace `` with the currently latest version/tag.
## Documentation
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc).
## Tests
This project is unit tested. Use `mix test` to run unit tests.