1.0.9 • Published 9 months ago

build-logger v1.0.9

Weekly downloads
-
License
MIT
Repository
-
Last release
9 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

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

10 months ago

1.0.0

10 months ago