Versions in this module Expand all Collapse all v0 v0.1.1 Feb 25, 2020 v0.1.0 Feb 25, 2020 Changes in this version + type Config struct + DBType string + DSN string + MaxIdleConns int + MaxLifetime int + MaxOpenConns int + TableName string + type Hook struct + func New(c *Config) *Hook + func (h *Hook) Close() error + func (h *Hook) Exec(entry *logrus.Entry) error + type LogItem struct + CreatedAt time.Time + Data string + ID uint + Level string + Message string + SpanFunction string + SpanTitle string + TraceID string + UserID string + Version string + func (LogItem) TableName() string