log

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(ctx context.Context) types.Logger

NewLogger returns a new logger instance. This func will panic if the context is nil or if it cannot create a new logger.

func WithLogger

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

WithLogger returns a new context with the logger set. This func will panic if the context is nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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