Skip to content

Olian04/better-logging-lowdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

better-logging-lowdb

const path = require('path');
const { 
    middleware: better_logging_lowdb 
    db: loggingDatabase
} = require('better-logging-lowdb')(
    path.join(__dirname, 'better_logging_db.json')
);
require('better-logging')(console, {
    events: [
        better_logging_lowdb
    ]
});

// Do work

loggingDatabase.get('logs').value(); // All logs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published