bugologger
Version:
An easy-to-use and lightweight Node.JS logger with colours & styles, log files, and timestamps.
14 lines (13 loc) • 332 B
JavaScript
/**
* @name leekslazylogger
* @author eartharoid <contact@eartharoid.me>
* @description An easy-to-use and lightweight Node.JS logger with file support, colours, and timestamps.
* @license MIT
*
* log file header template - cleans up main file
*
*/
module.exports = (o) => {
if (!o.header) return '';
else return `\n`;
};