logging

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExitWithMSG

func ExitWithMSG(msg string, code int, log *zerolog.Logger)

func IsConsoleLoggingEnabled added in v0.1.0

func IsConsoleLoggingEnabled() bool

func SetLoggingWriters added in v0.1.0

func SetLoggingWriters(logFile string) (writers zerolog.LevelWriter)

Types

type Logfile

type Logfile struct {
	LogfilePath string
}

type Logging

type Logging struct {
	Err    error
	Output string
}

Jump to

Keyboard shortcuts

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