1.0.9 • Published 10 months ago

build-logger v1.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Logger Module

This Logger module is a TypeScript-based wrapper around the winston logging library, providing customizable logging levels and formatting options. It includes built-in ANSI stripping for cleaner logs and a method for timestamped error logging.

Installation

You can install the package via npm:

NPM Version NPM Install Size NPM Downloads

npm install build-logger

Usage

Use the provided logger instance for info logs, as shown below:

import { logger } from "build-logger";

logger.info("Your message.");
logger.debug("Your message.");
logger.error("Your message.");

Use the provided debug instance for debug logs, as shown below:

import { debug } from "build-logger";

debug.info("Your message.");
debug.debug("Your message.");
debug.error("Your message.");

License

This project is licensed under the MIT License.

Report bugs

im.jsmeet@gmail.com
1.0.9

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

12 months ago

1.0.0

12 months ago