log

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyError   = "error"
	KeyUnknown = "known"

	KeyConnectorName = "connector_name"
	KeyConnectorID   = "connector_id"
)

Variables

This section is empty.

Functions

func Debug

func Debug() *zerolog.Event

func Error

func Error() *zerolog.Event

func FromContext added in v0.7.0

func FromContext(ctx context.Context) zerolog.Logger

func Info

func Info() *zerolog.Event

func NewConnectorLog added in v0.7.0

func NewConnectorLog(connectorID string) zerolog.Logger

func SetLogLevel

func SetLogLevel(level string)

func SetOutput added in v0.7.0

func SetOutput(w io.Writer)

func Warn added in v0.7.0

func Warn() *zerolog.Event

func WithLogger added in v0.7.0

func WithLogger(ctx context.Context, logger zerolog.Logger) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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