zerolog

package
v0.0.0-...-98a7bba Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRequestLogger

func NewRequestLogger(logLevel app.Level) app.Logger

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func (*Logger) Debug

func (l *Logger) Debug(format string)

func (*Logger) Error

func (l *Logger) Error(format string)

func (*Logger) Info

func (l *Logger) Info(format string)

func (*Logger) SetLogLevel

func (l *Logger) SetLogLevel(level app.Level)

func (*Logger) Warn

func (l *Logger) Warn(format string)

func (*Logger) WithInt

func (l *Logger) WithInt(key string, value int) app.Logger

func (*Logger) WithStr

func (l *Logger) WithStr(key string, value string) app.Logger

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL