Skip to content

Instantly share code, notes, and snippets.

@geshan
Created March 14, 2021 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geshan/18a2cd583575d2c2b231bd3257fbd455 to your computer and use it in GitHub Desktop.
Save geshan/18a2cd583575d2c2b231bd3257fbd455 to your computer and use it in GitHub Desktop.
Markdium-5 Node.js Logging libraries compared for you to make the optimal choice
Example app listening at http://localhost:3001
{"meta":{},"level":"\u001b[32minfo\u001b[39m","message":"GET /api/test 304 2ms"}
{"meta":{},"level":"\u001b[32minfo\u001b[39m","message":"GET /favicon.ico 404 2ms"}
{"meta":{},"level":"\u001b[32minfo\u001b[39m","message":"GET /favicon.ico 404 1ms"}
@dreamsparkx
Copy link

It shows everything in ANSI instead of colors, how to fix that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment