Versions in this module Expand all Collapse all v1 v1.0.0 Apr 20, 2023 Changes in this version + func NewLogger(opts ...logger.Option) logger.Logger + func ReportCaller() logger.Option + func WithExitFunc(exit func(int)) logger.Option + func WithJSONFormatter(formatter *logrus.JSONFormatter) logger.Option + func WithLevelHooks(hooks logrus.LevelHooks) logger.Option + func WithLogger(l logrus.StdLogger) logger.Option + func WithTextTextFormatter(formatter *logrus.TextFormatter) logger.Option + type Options struct + ExitFunc func(int) + Formatter logrus.Formatter + Hooks logrus.LevelHooks + ReportCaller bool