log

package
v2.37.9 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2025 License: CC0-1.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ctx added in v2.37.0

func Ctx(ctx context.Context) *zerolog.Logger

func Get added in v2.37.0

func Get(loggerOption ...LoggerOption) zerolog.Logger

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

type LoggerOption added in v2.37.0

type LoggerOption func(*Logger)

func WithAppPort added in v2.37.0

func WithAppPort(appPort int) LoggerOption

func WithAppVersion added in v2.37.0

func WithAppVersion(appVersion string) LoggerOption

func WithNewRelicApp added in v2.37.0

func WithNewRelicApp(app *newrelic.Application) LoggerOption

Jump to

Keyboard shortcuts

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