- Support for
logrus.TraceLevel
- Fix a race condition when using hook's ticker. Breaking change: hook.Ticker is not exported anymore. If you need to change to loop duration, please use
LoopDuration(time.Duration)
instead now. (#9)
- Fix bug where
Caller
was not passed to following hooks (#6)
- New
AddFilter
method for hooks. This method provides a better way to process the logged entry. - Code cleaning. Blacklist([]string) has been kept to preserve retro-compatibility, but it's now using an internal filter.
- Update import logrus path (see sirupsen/logrus#384)
- Fix log flushing. The previous version was leaving a DB transaction open on exit.
- Add hook.Close() func to close the DB from the hook
- AsyncHook now batches entries into DB, using a transaction every second (if there's something to log)
- InsertFunc is now private, and must be set at the hook level, not package
- Initial version