Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Repository files navigation

Unmaintained

This package is unmaintained. If you would like to maintain this package get in contact.

Ink

Build StatusModule VersionHex DocsTotal DownloadLicenseLast Updated

Ink is a backend for the Elixir Logger with two main purposes:

  • to log JSON documents instead of normal log lines
  • to filter secret strings out of the log lines

Installation

Just add :ink to your dependencies and run mix deps.get.

defdepsdo[{:ink,"~> 1.0"}]end

Usage

The only thing you have to do is drop some lines into your config.

# this will add Ink as the only backend for Loggerconfig:logger,backends: [Ink]# at least configure a name for your appconfig:logger,Ink,name: "your app"

For more information on how to use Ink, take a look at the docs.

Maintenance

  • get dependencies with mix deps.get
  • execute tests with mix test
  • update dependencies with mix deps.update --all
  • execute tests again mix test

Copyright and License

Copyright (c) 2018 InVision AG

This library is licensed under the MIT License.

About

A Logger backend that logs JSON

Topics

Resources

Stars

66 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages