Documentation ¶
Index ¶
- func AddAdapter(adapter func(context.Context, zerolog.Context) zerolog.Context)
- func Close()
- func Debug(ctx context.Context) *zerolog.Event
- func Err(ctx context.Context, err error) *zerolog.Event
- func Error(ctx context.Context) *zerolog.Event
- func Fatal(ctx context.Context) *zerolog.Event
- func Get(ctx context.Context) *zerolog.Logger
- func Info(ctx context.Context) *zerolog.Event
- func Initialize() *zerolog.Logger
- func NewLogWriter(logger *zerolog.Logger, level zerolog.Level) *logWriter
- func ParseLevel(level string) zerolog.Level
- func Trace(ctx context.Context) *zerolog.Event
- func Warn(ctx context.Context) *zerolog.Event
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func NewLogWriter ¶
NewLogWriter creates a new log writer that writes to the given logger with the given level.
func ParseLevel ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.