zlogger

package
v0.0.0-...-185ace6 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(args ...interface{})

func Debugf

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

func Error

func Error(args ...interface{})

func Errorf

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

func Info

func Info(args ...interface{})

func Infof

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

func Instance

func Instance() logger.Logger

func New

func New(config *logger.Config) (logger.Logger, error)

func NewContext

func NewContext(ctx context.Context, fields logger.Fields) context.Context

func SetupLogging

func SetupLogging(config *logger.Config) error

SetupLogging configures the global logger.

func Warn

func Warn(args ...interface{})

func Warnf

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

func WithContext

func WithContext(ctx context.Context) logger.Logger

func WithFields

func WithFields(fields logger.Fields) logger.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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