Skip to content

The Sahnee.Logger application contains several helper modules to enable logging in a sahnee project.

Notifications You must be signed in to change notification settings

SahneeDEV/Sahnee.Logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

def deps do
  [
    {:sahnee_logger, git: "ssh://git@github.com:Sahnee-DE/Sahnee.Logger.git", tag: "<tag here>"}
  ]
end

Please make sure to replace <tag here> with the currently latest version/tag.

Documentation

Documentation can be generated with ExDoc.

Tests

This project is unit tested. Use mix test to run unit tests.

About

The Sahnee.Logger application contains several helper modules to enable logging in a sahnee project.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages