logger

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger added in v0.0.17

type Logger struct {
	Zap *zap.Logger
}

func NewLogger

func NewLogger() *Logger

func (*Logger) Error added in v0.0.17

func (l *Logger) Error(err error, fields ...zap.Field)

func (*Logger) Info added in v0.0.17

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

func (*Logger) Warn added in v0.0.17

func (l *Logger) Warn(msg string, fields ...zap.Field)

Jump to

Keyboard shortcuts

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