logger

package
v0.0.0-...-38dc3a1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: Apache-2.0 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 {
	*zap.Logger
}

Logger .

func NewLogger

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

NewLogger creates a wrapper around zap

func (*Logger) Debugf

func (l *Logger) Debugf(msg string, values ...interface{})

Debugf debug logs in printf style

func (*Logger) Errorf

func (l *Logger) Errorf(msg string, values ...interface{})

Errorf error logs in printf style

func (*Logger) Infof

func (l *Logger) Infof(msg string, values ...interface{})

Infof info logs in printf style

Jump to

Keyboard shortcuts

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