1.0.5 • Published 10 months ago

@avolgha/log v1.0.5

Weekly downloads
-
License
BSD-3 Clause Clea...
Repository
github
Last release
10 months ago

log

simple logger, lol

Installation

The package is available under @avolgha/log in the NPM registry.
Just use one of these commands to install the package:

# if you use npm
$ npm install @avolgha/log

# if you use yarn
$ yarn add @avolgha/log

# if you use pnpm (like me)
$ pnpm install @avolgha/log

Usage

import logger from "@avolgha/log";

logger.info("test info message.");
logger.debug("test debug message.");
logger.warn("test warn message.");
logger.fatal("test fatal message.");

const error = new Error("test error");
logger.error(error);

If you execute this code on your computer, it will result in the following: example image

1.0.5

10 months ago

1.0.4

12 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago