log

package
v0.0.0-...-a88ee92 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogger

func InitLogger(opts InitLoggerOpts) (*zap.Logger, error)

InitLogger initializes the Logger from the provided options.

Types

type InitLoggerOpts

type InitLoggerOpts struct {
	File      string
	UseStdout bool
	Debug     bool
}

InitLoggerOpts contains options to the InitLogger function.

Jump to

Keyboard shortcuts

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