logger

package
v0.0.0-...-10dff14 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitLogger

func InitLogger(loggerFile string)

func LogDebug

func LogDebug(message string, correlationId string, extraInfo ...LogExtraInfo)

func LogError

func LogError(message string, correlationId string, extraInfo ...LogExtraInfo)

func LogFatal

func LogFatal(message string, correlationId string, extraInfo ...LogExtraInfo)

func LogInfo

func LogInfo(message string, correlationId string, extraInfo ...LogExtraInfo)

func LogPanic

func LogPanic(message string, correlationId string, extraInfo ...LogExtraInfo)

func LogWarn

func LogWarn(message string, correlationId string, extraInfo ...LogExtraInfo)

func SetLogLevel

func SetLogLevel(ll string)

Types

type LogExtraInfo

type LogExtraInfo struct {
	Key   string
	Value interface{}
}

Jump to

Keyboard shortcuts

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