logger

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(conf LogParams)

Types

type LogParams added in v0.2.0

type LogParams struct {
	JSONMode      bool   `yaml:"json_mode"`
	Debug         bool   `yaml:"debug"`
	OutputFile    string `yaml:"output_file"`
	Level         string `yaml:"level"`
	DisableStdOut bool   `yaml:"disable_std_out"`
}

type Logger

type Logger struct {
	*zerolog.Logger
}
var (
	Log *Logger
)

Jump to

Keyboard shortcuts

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