logger

package
v0.0.0-...-120aaed Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	zerolog.Logger
}

func New

func New(di.Injector) (*Service, error)

func (*Service) IfErr

func (s *Service) IfErr(err error, msg string) error

func (*Service) IfErrFatal

func (s *Service) IfErrFatal(err error, msg string)

func (*Service) IfErrFatalf

func (s *Service) IfErrFatalf(err error, msg string, v ...interface{})

func (*Service) IfErrLog

func (s *Service) IfErrLog(err error, msg string)

func (*Service) IfErrf

func (s *Service) IfErrf(err error, format string, v ...interface{}) error

func (*Service) Shutdown

func (s *Service) Shutdown() error

Jump to

Keyboard shortcuts

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