logger

package
v1.0.167 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDebug

func NewDebug(options ...zap.Option) (*zap.Logger, error)

func NewDebugLoggerConfig

func NewDebugLoggerConfig() zap.Config

NewDebugLoggerConfig returns an opinionated logger config for debugging

func NewEncoderConfig

func NewEncoderConfig() zapcore.EncoderConfig

func NewProd

func NewProd(options ...zap.Option) (*zap.Logger, error)

func NewProdLoggerConfig

func NewProdLoggerConfig() zap.Config

NewProdLoggerConfig returns an opinionated logger config for production

Types

This section is empty.

Jump to

Keyboard shortcuts

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