1.2.0 • Published 4 years ago

squarelogger v1.2.0

Weekly downloads
8
License
UNLICENSED
Repository
github
Last release
4 years ago

SquareLogger

A Node.js library for logging info, warnings, and Errors

Installation

npm i squarelogger

Docs

Uses

Importing squarelogger into your project.
const squareLogger = require('squarelogger'); 
Methods of logging
 const squareLogger = require('squarelogger'); 
 squarelogger.logInfo('info'); // -> [INFO]: Info
 squarelogger.logWarn('warning'); // -> [WARN]: warning
 squarelogger.logError('error'); // -> [ERROR]: error
 squarelogger.logDebug('debug'); // -> [DEBUG]: debug
Basic example of creating a log file
const squareLogger = require('squarelogger');
squarelogger.logInfo('Program Started');
1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago