/nano-logger

Minimal console logger help

Primary LanguageJavaScriptMIT LicenseMIT

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