Create log files in a folder and pick a name
npm i jo-logger --save
Then...
const joLogger = require('jo-logger')
joLogger({
message: 'Log Message',
name: 'logName',
folder: 'logFolder'
})
Jo-Logger support 3 options, which are optional
- "message" - string (Defaults to 'Log Message')
- "name" - string (Defaults to 'logName')
- "folder" - string (Defaults to 'logFolder')