blazelog
v1.0.3
Published
A simple console logger for logging information, warnings, and errors.
Downloads
3
Readme
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')