Versions in this module Expand all Collapse all v1 v1.0.1 Oct 23, 2019 v1.0.0 Oct 23, 2019 Changes in this version + const LUTC + const Ldate + const Llongfile + const Lmicroseconds + const Lshortfile + const LstdFlags + const Ltime + var LogrusRegexp = regexp.MustCompile(`sirupsen/logrus(@.*)?/.*.go`) + var MiscRegexp = regexp.MustCompile(`zxfonline/misc(@.*)?/log/.*.go`) + var SuffixesToIgnoreArray = []*regexp.Regexp + type CallerHook struct + CallerHookOptions *CallerHookOptions + func NewHook(options *CallerHookOptions) *CallerHook + func (hook *CallerHook) Fire(entry *logrus.Entry) error + func (hook *CallerHook) Levels() []logrus.Level + type CallerHookOptions struct + DisabledField bool + EnableFile bool + EnableLine bool + Field string + FileAlias string + Flags int + LineAlias string + func (options *CallerHookOptions) HasFlag(flag int) bool