firebase-winston
A Firebase transport for Winston
Usage
const winston = ;const admin = ;const FirebaseLogger = ; const db = admin; winston; winston
Options
Required is that you set the ref
option when adding a transport.
Firebase needs a key to store an object. If no key
option is set, the current timestamp will be used.
If you do set the key
option, all your logs that use the FirebaseLogger
have to include a key/value in the metadata with that name.
winston; winston