logger

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	Lg *zerolog.Logger
}

func NewLogger

func NewLogger(level string) (*Logger, error)

func (*Logger) AddField

func (l *Logger) AddField(fields map[string]string)

type LoggerInterface

type LoggerInterface interface {
	AddField(fields map[string]string)
}

Jump to

Keyboard shortcuts

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