Skip to content

hbarcelos/give-your-logs-more-context

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Give your logs more context

This repository is the implementation of the ideas from "Give your logs more context" article series:

Requirements

Setup

If you are following follow the article, after cloning this repository, I checkout the initial tag:

git clone https://github.com/hbarcelos/give-your-logs-more-context
git checkout initial

Each step on the article is a subsequent commit, which you can reference by the commit hash.

The final version is under the final tag, which is also the HEAD of the master branch.

git checkout final
# or...
git checkout master

After choosing what you want to see, run:

yarn install
yarn test

About

Wrapper on top of pino which provides integration with cls-hooked for better context in log messages

Resources

Stars

Watchers

Forks

Packages

No packages published