my-simple-logger
v1.1.0
Published
Simple logger with timestamp
Downloads
2
Readme
Simple Logger Module
Description
This logs the timestamp of any given item, sent to the console, as an extension of standard console.log()
Usage
Functions
- log
- write
var logMe = require("my-simple-logger");
logMe.log("Test")
Result in console:
Test - 19:20
var logMe = require("my-simple-logger");
logMe.write("Test)
Logs written to ./logs/[current date].txt