log

package module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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

New creates a new zap logger.

If MAGEFILE_DEBUG=1 the level is set to Debug, otherwise it is set to Info. If MAGEFILE_VERBOSE is not set only errors are logged..

If there is an error in logger configuration, a noop logger and an error are returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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