log

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func NewLogger

func NewLogger(options ...Option) (*Logger, error)

type Option

type Option func(s *Logger)

func WithGlobalLogger

func WithGlobalLogger() Option

func WithLevel

func WithLevel(level zapcore.Level) Option

Jump to

Keyboard shortcuts

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