glg

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...Option) log.Logger

New returns a new logger instance.

Types

type Option

type Option func(l *logger)

func WithFormat

func WithFormat(str string) Option

func WithGlg

func WithGlg(g *glg.Glg) Option

func WithLevel

func WithLevel(str string) Option

func WithRetry

func WithRetry(rt retry.Retry) Option

Jump to

Keyboard shortcuts

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