logging

package
v0.0.0-...-02848fd Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(level LogLevel) (*zap.Logger, error)

New returns a configured Zap logger suitable for container application which need to log structured messages to sdout.

Types

type LogLevel

type LogLevel string
const (
	InfoLevel  LogLevel = "info"
	ErrorLevel LogLevel = "error"
	DebugLevel LogLevel = "debug"
)

Jump to

Keyboard shortcuts

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