# 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-version-image]][npm-url]
[![NPM Install Size][npm-install-size-image]][npm-install-size-url]
[![NPM Downloads][npm-downloads-image]][npm-downloads-url]

```bash
npm install build-logger
```

## Usage

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

```bash
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:**

```bash
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

```Javascript
im.jsmeet@gmail.com
```

[npm-version-image]: https://badgen.net/npm/v/build-logger
[npm-install-size-image]: https://packagephobia.com/badge?p=build-logger
[npm-downloads-image]: https://badgen.net/npm/dm/build-logger
[npm-url]: https://www.npmjs.com/package/build-logger
[npm-install-size-url]: https://packagephobia.com/result?p=build-logger
[npm-downloads-url]: https://npmcharts.com/compare/build-logger?minimal=true
