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
-
Notifications
You must be signed in to change notification settings - Fork 0
License
Olian04/better-logging-lowdb
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published