Versions in this module Expand all Collapse all v1 v1.0.4 Jun 1, 2017 Changes in this version type AsyncHook + Ticker *time.Ticker v1.0.2 Nov 8, 2016 Changes in this version type Hook + func (hook *Hook) Close() error v1.0.1 Nov 7, 2016 Changes in this version + var BufSize uint = 8192 + type AsyncHook struct + InsertFunc func(*sql.Tx, *logrus.Entry) error + TickChan <-chan time.Time + func NewAsyncHook(db *sql.DB, extra map[string]interface{}) *AsyncHook + func (hook *AsyncHook) Fire(entry *logrus.Entry) error + func (hook *AsyncHook) Flush() + type Hook struct + Extra map[string]interface{} + InsertFunc func(*sql.DB, *logrus.Entry) error + func NewHook(db *sql.DB, extra map[string]interface{}) *Hook + func (hook *Hook) Blacklist(b []string) + func (hook *Hook) Fire(entry *logrus.Entry) error + func (hook *Hook) Levels() []logrus.Level