cmd

package
v0.0.0-...-d041062 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DoNotLogToFile = ""

DoNotLogToFile is an indication not to log to any file

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(filename string, target interface{}) error

LoadConfig from json file into target

func Logger

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

Logger is a factory for a logger.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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