Balena Event Log
Balena event logging facility.
Installing
$ npm install resin-event-log
Using
var EventLog = var eventLogger = // Example logged event:eventLogeruser // Example logged event without params:eventLogeruser
Options
prefix
- subsystem name like UI or CLI, acts as events names prefix[debug = false]
— will print some warnings[mixpanelToken = null]
- if set events will be reported to mixpanel[mixpanelHost = null]
- if set will override the default mixpanel API host[gaSite = null]
,[gaSite = null]
- if set events will be reported to GA
Hooks:
{ return } {}