logger

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStackdriverDevelopment

func NewStackdriverDevelopment(service string) (*zap.Logger, error)

NewStackdriverDevelopment returns a new *zap.Logger that supports Google Stackdriver's structured logging. Logging is enabled at DebugLevel and above.

func NewStackdriverProduction

func NewStackdriverProduction(service string) (*zap.Logger, error)

NewStackdriverProduction returns a new *zap.Logger that supports Google Stackdriver's structured logging. Logging is enabled at InfoLevel and above.

Types

This section is empty.

Jump to

Keyboard shortcuts

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