Versions in this module Expand all Collapse all v1 v1.54.4 Nov 23, 2020 Changes in this version + var DefaultOpt = Options + var Opt = DefaultOpt + func InitLogging() + func NewCallerHook(levels ...logrus.Level) logrus.Hook + func Redirected() bool + func Stack(o interface{}, info string) + func Trace(o interface{}, format string, a ...interface{}) func(string, ...interface{}) + type CallerHook struct + Field string + Skip int + func (h *CallerHook) Fire(entry *logrus.Entry) error + func (h *CallerHook) Levels() []logrus.Level + type Options struct + File string + Format string + SyslogFacility string + UseSyslog bool