GithubHelp home page GithubHelp logo

patrikstenmark / ink Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ivx/ink

0.0 1.0 0.0 162 KB

A Logger backend that logs JSON

License: MIT License

Elixir 98.80% Dockerfile 0.73% Shell 0.46%

ink's Introduction

Ink

Build Status Inline docs

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.

def deps do
  [{: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 Logger
config :logger,
  backends: [Ink]

# at least configure a name for your app
config :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

ink's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar beckerei avatar fruetel avatar alexmarold avatar unnawut avatar peterlaudel avatar schmitze333 avatar ahx avatar xofspades avatar hb-dev avatar jk779 avatar tmsch avatar laserx avatar leander-karp avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.