logger

package
v0.0.0-...-d75ea93 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: MIT Imports: 6 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 New

func New(config *config.Config) *Logger

func (*Logger) Debug

func (logger *Logger) Debug(msg string, fields ...zap.Field)

func (*Logger) Error

func (logger *Logger) Error(msg string, fields ...zap.Field)

func (*Logger) Fatal

func (logger *Logger) Fatal(msg string, fields ...zap.Field)

func (*Logger) Info

func (logger *Logger) Info(msg string, fields ...zap.Field)

Jump to

Keyboard shortcuts

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