Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

nano-logger

MoOx26MIT1.0.0

Minimal console logger helper

console, log, logger

readme

nano-logger NPM version

Minimal console logger helper

Installation

$ npm install nano-logger

Usage

import nanoLogger from "nano-logger"
const log = nanoLogger("my prefix")

log("stuff")
// echo
// [09:22:34] [my prefix] stuff
// time & prefix are using a lighter color

Changelog

License

changelog

1.0.0 - 2015-05-22

✨ Initial release