Skip to content

Elixir Library used for logging errors to Datadog

License

Notifications You must be signed in to change notification settings

jackpocket/kennel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kennel

A simple Elixir library for managing kennels and dogs. This library provides basic functionality for organizing and managing dog-related data.

Installation

Add to application.ex:

translators = Application.fetch_env!(:logger, :translators)

:logger.add_primary_filter(
  :datadog_error_tracker_filter,
  {&Kennel.include_error_metadata/2, [translators: translators]}
)

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

def deps do
  [
    {:kennel, "~> 0.1.0"}
  ]
end

Usage

# Basic usage
iex> Kennel.include_error_metadata(:error, [])
:error

Documentation

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/kennel.

About

Elixir Library used for logging errors to Datadog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages