1.0.3 • Published 2 years ago
blazelog v1.0.3
BlazeLog
A simple console logger for logging information, warnings, and errors.
Installation
npm install blazelogUsage
// 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')