@maur025/core-logger
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Overview

Utility library to logging in console.

Installation

Use the following command to install:

Using pnpm:

pnpm add @maur025/core-logger

Using npm:

npm install @maur025/core-logger

Using yarn:

yarn add @maur025/core-logger

USAGE

Add the next variables in to .env:

LOG_PATH='silly'
LOG_PATH=logs

Level can be any value of RFC5424

const levels = {
	error: 0,
	warn: 1,
	info: 2,
	http: 3,
	verbose: 4,
	debug: 5,
	silly: 6,
};

Package Sidebar

Install

npm i @maur025/core-logger

Weekly Downloads

9

Version

1.0.0

License

MIT

Unpacked Size

20.6 kB

Total Files

29

Last publish

Collaborators

  • maur025