logging

package
v0.0.0-...-82ba225 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugLevel

func DebugLevel(enable bool)

func UseSentry

func UseSentry(dsn string, tags *sentry.SentryTags)

Types

type Logger

type Logger interface {
	Debugw(msg string, keysAndValues ...interface{})
	Infow(msg string, keysAndValues ...interface{})
	Warnw(msg string, keysAndValues ...interface{})
	Errorw(msg string, keysAndValues ...interface{})
	Fatalw(msg string, keysAndValues ...interface{})
	Infof(template string, args ...interface{})
	Sync() error
}

func With

func With(args ...interface{}) Logger

func WithComponentLogger

func WithComponentLogger(component string) Logger

Jump to

Keyboard shortcuts

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