Skip to content

@2.2.0

Latest
Compare
Choose a tag to compare
@Cut0x Cut0x released this 26 Nov 19:53
· 5 commits to main since this release

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)