0.0.1 • Published 8 years ago
stash-logger v0.0.1
Stash Logger
npm install stash-logger
import StashLogger from 'stash-logger';
const myLogger = new StashLogger({
endpoint: '/my/logs/go/here',
appId: 'my-awesome-app'
});
myLogger.error('Bad stuff happened');
// ^ adds to the buffer which will group messages to send off
myLogger.errorImmediately('Really bad stuff happened');
// ^ sends this log off without waiting in the buffer
0.0.1
8 years ago