logger

package
v0.0.0-...-759ad52 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Log   *zap.Logger
	Debug = os.Getenv("DEBUG")
)

Functions

func Enqueue

func Enqueue(msg string)

Enqueue sets message for writing to disk

func File

func File(fileLoc string, data string) (err error)

func Setup

func Setup(verbose bool) (logger *zap.Logger, err error)

configure will return instance of zap logger configuration, configured to be verbose or to use JSON formatting

Types

This section is empty.

Jump to

Keyboard shortcuts

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