Versions in this module Expand all Collapse all v1 v1.3.1 Mar 10, 2020 Changes in this version + func DefaultHooks() []logrus.Hook + func DefaultLogger(level logrus.Level, format Format) *logrus.Logger + type ErrorLocationHook struct + func (h *ErrorLocationHook) Fire(entry *logrus.Entry) error + func (h *ErrorLocationHook) Levels() []logrus.Level + type Format string + const FormatJSON + const FormatText + type FormatFlag struct + func NewFormatFlag() *FormatFlag + func (f *FormatFlag) Parse() Format + type HcLogLevelHook struct + func (h *HcLogLevelHook) Fire(entry *logrus.Entry) error + func (h *HcLogLevelHook) Levels() []logrus.Level + type LevelFlag struct + func LogLevelFlag(defaultValue logrus.Level) *LevelFlag + func (f *LevelFlag) Parse() logrus.Level + type LocationInfo struct + File string + Function string + Line int + func GetFrameLocationInfo(frame errors.Frame) LocationInfo + type LogCounterHook struct + func NewLogCounterHook() *LogCounterHook + func (h *LogCounterHook) Fire(entry *logrus.Entry) error + func (h *LogCounterHook) GetCount(level logrus.Level) int + func (h *LogCounterHook) Levels() []logrus.Level + type LogLocationHook struct + func (h *LogLocationHook) Fire(entry *logrus.Entry) error + func (h *LogLocationHook) Levels() []logrus.Level + func (h *LogLocationHook) WithLoggerName(name string) *LogLocationHook