logger

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogLevel  = zerolog.DebugLevel
	LogOutput = ConsoleOutput
	LogBytes  = false
)

Variables

This section is empty.

Functions

func FmtBytes

func FmtBytes(b []byte) string

func L

func L() *zerolog.Logger

func SetupGlobalLogger

func SetupGlobalLogger(level zerolog.Level, outputFormat OutputFormat)

Types

type OutputFormat

type OutputFormat string
const (
	ConsoleOutput OutputFormat = "console"
	Default       OutputFormat = "Stderr"
)

Jump to

Keyboard shortcuts

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