UNPKG

rklogger

Version:

RKLogger is a lightweight JavaScript library designed for efficient and visually appealing logging. It offers developers the ability to produce logs, utilizing distinct colors to represent different log levels for improved readability and comprehension.

9 lines (8 loc) 397 B
const Logger = require('../logger.js'); Logger.printFatal('This is a FATAL log output'); Logger.printError('This is a ERROR log output'); Logger.printWarning('This is a WARNING log output'); Logger.printDebug('This is a DEBUG log output'); Logger.printTrace('This is a TRACE log output'); Logger.printGeneral('This is a GENERAL log output'); Logger.printInfo('This is a INFO log output');