logging

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	LogFormatJSON    = "json"
	LogFormatConsole = "console"
)

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context, format string, level string) (context.Context, error)

Init creates a new zap logger and attaches it to the provided context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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