logfile

package
v1.30.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrLogFile

type ErrLogFile string

ErrLogFile handles a custom error for setting log file.

func (ErrLogFile) Error

func (e ErrLogFile) Error() string

Error implements error interface.

type Params

type Params struct {
	File     string
	ToStdout bool
	Verbose  bool
}

Params contains log file parameters.

func LoadParams

func LoadParams(v *viper.Viper) (Params, error)

LoadParams loads needed data from the configuration file.

Jump to

Keyboard shortcuts

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