log

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDiscard

func NewDiscard() *zap.Logger

NewDiscard creates a new zap logger which discards everything This is for unit tests

func NewLogger

func NewLogger(level string) (*zap.Logger, error)

NewLogger creates a new zap logger with the specified log level

Types

This section is empty.

Jump to

Keyboard shortcuts

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