2.1.1 • Published 3 years ago

multi-level-logger v2.1.1

Weekly downloads
36
License
MIT
Repository
github
Last release
3 years ago

multi-level-logger

A simple logging module with flexibility for multiple simultaneous log levels through named logs, and optional timestamp, code location, and color inclusion.

Detailed Documentation is available here

Getting Started

Install

npm install multi-level-logger --only=prod

  • Installing with --only=prod is highly recommended as multi-level-logger does not have any run-time dependencies

Quick Start

import { Warn } from "multi-level-logger";

Warn("Hello multi-level-logger");

Recent Releases

*See What's new in the documentation for additional details

v2.1.0 - Lazy Evaluation

  • Adds support for passing a function method as data
    • Function evaluation occurs only when the log level will be written

v2.0 - Major Release

  • Typescript declarations
  • optional - Code location from the stack trace
  • optional - Console colors
  • Breaking Changes
2.1.1

3 years ago

2.1.0

3 years ago

2.0.3

4 years ago

2.0.4

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.3.2

4 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.0

6 years ago