logger

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Child added in v0.3.3

func Child(opts ...ChildOption) zerolog.Logger

func Init added in v0.3.3

func Init(opts ...InitOption) zerolog.Logger

Types

type ChildOption added in v0.3.3

type ChildOption func(*zerolog.Logger)

func WithLevel added in v0.3.3

func WithLevel(level string) ChildOption

func WithName added in v0.3.3

func WithName(name string) ChildOption

type InitOption added in v0.3.3

type InitOption func(*logger)

func WithConsole added in v0.3.3

func WithConsole() InitOption

func WithFile added in v0.3.3

func WithFile(filepath string) InitOption

func WithVerbosity added in v0.3.3

func WithVerbosity(verbosity int) InitOption

Jump to

Keyboard shortcuts

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