UNPKG

node-logthis

Version:

A lightweight-logger built for Node.js

12 lines (10 loc) 298 B
const LogThis = require('../logit'); const logger = new LogThis('Example', 'gray') describe ('Function1', function () { it('check if info logs correctly', () => { logger.info("test") logger.success("test") logger.warning("test") logger.erorr("test") }); })