Documentation ¶
Index ¶
Constants ¶
View Source
const (
OPTION_LOGGER = "logger"
)
Variables ¶
View Source
var (
WithLogger, GetLogger = option.New[logrus.FieldLogger](OPTION_LOGGER)
)
Functions ¶
func GetDebugLogger ¶ added in v1.1.16
func GetDebugLogger() log.FieldLogger
Types ¶
type GetLoggerer ¶
type GetLoggerer struct {
// contains filtered or unexported fields
}
func NewGetLoggerer ¶
func NewGetLoggerer(logger log.FieldLogger) *GetLoggerer
func (*GetLoggerer) GetLogger ¶
func (l *GetLoggerer) GetLogger() log.FieldLogger
Click to show internal directories.
Click to hide internal directories.