Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger interface { Debug(context.Context) *zerolog.Event Info(context.Context) *zerolog.Event Warn(context.Context) *zerolog.Event Error(context.Context) *zerolog.Event WithLevel(context.Context, zerolog.Level) *zerolog.Event GetLevel() zerolog.Level }
Logger
func WrapZerolog ¶
type Option ¶
type Option func(*Options)
Option
func LogErrSkipAsWarn ¶
func WithDefaultLevel ¶
func WithLogger ¶
Click to show internal directories.
Click to hide internal directories.