npm.io
1.0.3 • Published 3 years ago

blazelog

Licence
ISC
Version
1.0.3
Deps
0
Size
4 kB
Vulns
0
Weekly
0

BlazeLog

A simple console logger for logging information, warnings, and errors.

Installation

npm install blazelog

Usage

// Import the package into your project:
import logger from 'blazelog';

Logging information

To log informational message, use the info method:

import logger from 'blazelog';

logger.info('message')

Logging warnings

To log warnings, use the warn method:

import logger from 'blazelog';

logger.warn('message')

Logging errors

To log errors, use the error method:

import logger from 'blazelog';

logger.error('message')

Keywords