zerolog

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: MIT Imports: 8 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 {
	Out, Err *os.File
	// contains filtered or unexported fields
}

func NewZeroLog

func NewZeroLog(ctx context.Context, c ...io.Writer) *Logger

func (*Logger) Level

func (x *Logger) Level(level string) *Logger

func (*Logger) S

func (x *Logger) S() *log.Logger

func (*Logger) Unswap

func (x *Logger) Unswap()

func (*Logger) Z

func (x *Logger) Z() *zerolog.Logger

Jump to

Keyboard shortcuts

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