zap

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Info  = "INFO"
	Warn  = "WARN"
	Debug = "DEBUG"
	Error = "ERROR"
	Fatal = "FATAL"
)

Variables

This section is empty.

Functions

func NewLoggerAdapter

func NewLoggerAdapter(config Config) (log.Logger, error)

NewLoggerAdapter creates a new zap Logger adapter

Types

type Config

type Config struct {
	log.LoggerOptions
}

Config contains the configuration for the logger adapter

Jump to

Keyboard shortcuts

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