Skip to content

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

Notifications You must be signed in to change notification settings

hbarcelos/give-your-logs-more-context

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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