logger

package
v2.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg string, args ...interface{})

Debug aliases zap.Debugw to be able to log a message with optional context

func Debugf

func Debugf(msg string, args ...interface{})

Debugf aliases zap.Debugf

func Error

func Error(msg string, args ...interface{})

Error aliases zap.Errorw to be able to log a message with optional context

func Errorf

func Errorf(msg string, args ...interface{})

Errorf aliases zap.Errorf

func Fatal

func Fatal(msg string, args ...interface{})

Fatal aliases zap.Fatalw to be able to log a message with optional context

func Fatalf

func Fatalf(msg string, args ...interface{})

Fatalf aliases zap.Fatalf

func Info

func Info(msg string, args ...interface{})

Info aliases zap.Infow to be able to log a message with optional context

func Infof

func Infof(msg string, args ...interface{})

Infof aliases zap.Infof

func NewLogger

func NewLogger() *zap.SugaredLogger

NewLogger returns a new instance of zap sugar logger

func Warn

func Warn(msg string, args ...interface{})

Warn aliases zap.Warnw to be able to log a message with optional context

func Warnf

func Warnf(msg string, args ...interface{})

Warnf aliases zap.Warnf

Types

This section is empty.

Jump to

Keyboard shortcuts

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