Skip to content

About

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

Resources

Stars

12 stars

Watchers

0 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

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

12 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages