print log messages with timestamp, file name, method name, line number, path or call stack
be customized output format with micro-template and timestamp format
support user-defined logging levels
xa
Simple console logger, that works in Node.js, Electron and the Browser
❤️
Highlights
Simple API
Works in Node.js, Electron and the Browser
Customizable
Written in TypeScript
friendly-error
Show uncaught errors friendly in Node.js.
Usage
npm install --save friendly-error
Then add a line at the beginning of your entry file:
require('friendly-error')()
That's it.
It use
append-tree
Model a tree structure on top of an append-only log.
npm install append-tree
The data structure stores a small index for every entry in the log, meaning no external indexing is required to model the tre
scribbly
Scribbly is a simple isomorphic logging tool which is based on the middleware system. Management and construction of middlewares are very similar to the ones in expressjs. This allows broad flexibility and i
pino
Extremely fast node.js logger, inspired by Bunyan. It also includes a shell utility to pretty-print its log files.
Installation
Usage
Benchmarks
API
Extreme mode explained
How to use Pino
Storyboard
A library, plus a Chrome DevTools extension.
Blog post: http://guigrpa.github.io/2016/07/18/untangling-spaghetti-logs/
These docs are for Storyboard v3. Docs for v2 are also available, but you're encou
console-log-level
A dead simple logger. Will log to STDOUT or STDERR depending on the chosen log level. It uses console.info, console.warn and console.error and hence supports the same API.
Log levels supported: trace,
Bunyan is a simple and fast JSON logging library for node.js services:
var bunyan = require('bunyan');
var log = bunyan.createLogger({name: "myapp"});
log.info("hi");
and a bunyan CLI tool for nicely viewing those logs:
winston
A multi-transport async logging library for node.js. "CHILL WINSTON! ... I put it in the logs."
Motivation
Winston is designed to be a simple and universal logging library with support for mult