Releases: Cut0x/node-logger-simple
Releases · Cut0x/node-logger-simple
@2.2.0
Complete restructuring of the module
module in collaboration with @Akira-Team and developed by @Cut0x
New method
const { FileLogger } = require('node-logger-simple');
// personalised file is required
const logger = new FileLogger({
logFilePath: "my-log-file"
});
Old method
const Logger = require('node-logger-simple');
// personalised file is not required
const logger = new Logger({
logFilePath: "my-log-file"
});
Future news
It will be possible to choose whether you want to make a configuration from a file or directly on a web panel (accessible from a site). I am also thinking of adding the possibility of doing both (by a file AND by the site)