logger

package
v0.0.0-...-02929fb Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 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 {
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(out io.Writer, level zerolog.Level, service string) Logger

func (Logger) Debug

func (l Logger) Debug(i ...interface{})

func (Logger) Dedugf

func (l Logger) Dedugf(format string, i ...interface{})

func (Logger) Error

func (l Logger) Error(err error, msg string)

func (Logger) Errorf

func (l Logger) Errorf(err error, format string, i ...interface{})

func (Logger) Fatal

func (l Logger) Fatal(err error, msg string)

func (Logger) Fatalf

func (l Logger) Fatalf(err error, format string, i ...interface{})

func (Logger) Info

func (l Logger) Info(i ...interface{})

func (Logger) Infof

func (l Logger) Infof(format string, i ...interface{})

Jump to

Keyboard shortcuts

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