log

package
v0.0.0-...-c5fed4d Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debugf

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

func Errorf

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

func Fatalf

func Fatalf(ctx context.Context, format string, args ...interface{})

func Infof

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

func InjectFields

func InjectFields(ctx context.Context, fields logrus.Fields) context.Context

InjectFields returns a new context with fields injected.

func Setup

func Setup(level, format string)

Setup configures the global logger instance with level and formatter.

func Warnf

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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