logger

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2021 License: Apache-2.0 Imports: 6 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogDebugJSON

func LogDebugJSON(message string, content interface{})

func LogDebugWithLevel

func LogDebugWithLevel(msg string, args ...interface{})

func LogError

func LogError(msg string, err error, args ...map[string]interface{})

func LogErrorWithLevel

func LogErrorWithLevel(msg string, err error, args ...map[string]interface{})

func LogInfo

func LogInfo(msg string, args ...interface{})

func LogInfoWithLevel

func LogInfoWithLevel(msg string, args ...interface{})

func LogPanic

func LogPanic(msg string, err error, args ...map[string]interface{})

func LogPanicWithLevel

func LogPanicWithLevel(msg string, err error, args ...map[string]interface{})

func LogPrint

func LogPrint(msg string)

func LogSetOutput

func LogSetOutput(stdout *bytes.Buffer)

func LogStringAsError

func LogStringAsError(msg string)

func LogTraceWithLevel

func LogTraceWithLevel(msg string, args ...interface{})

func LogWarn

func LogWarn(msg string, args ...interface{})

func LogWarnWithLevel

func LogWarnWithLevel(msg string, args ...interface{})

func SetLogLevel

func SetLogLevel(level string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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