logging

package
v0.0.0-...-71a597d Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger = log.Output(zerolog.ConsoleWriter{Out: os.Stderr}).Hook(FatalHook{})

Functions

This section is empty.

Types

type FatalHook

type FatalHook struct {
	WorkDir string
}

Fatal hook to run in case of Fatal error

func (FatalHook) Run

func (hook FatalHook) Run(_ *zerolog.Event, level zerolog.Level, _ string)

Run function on trigger

Jump to

Keyboard shortcuts

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