zstdlog

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultLevel = zerolog.NoLevel
)

Functions

func NewStdLogger

func NewStdLogger(logger zerolog.Logger) *stdlog.Logger

NewStdLogger will return an instance of *log.Logger where all messages will have no level attached

func NewStdLoggerWithLevel

func NewStdLoggerWithLevel(logger zerolog.Logger, level zerolog.Level) *stdlog.Logger

NewStdLoggerWithLevel will return an instance of *log.Logger where all messages will have the specified level

Types

This section is empty.

Jump to

Keyboard shortcuts

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