Help us shape the future of Go! Take the 2026 Go Developer Survey

logutil

package
v0.3.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateKeyValueString

func CreateKeyValueString(key, val string) string

CreateKeyValueString creates a concatenated string.

func LogDebug

func LogDebug(logger *log.Log, command, action, msg string, data ...string)

LogDebug is a utility function to log debug messages.

func LogError

func LogError(logger *log.Log, command, action, errMsg string, data ...string)

LogError is a utility function to log error messages.

func LogInfo

func LogInfo(logger *log.Log, command, action, msg string, data ...string)

LogInfo is a utility function to log info messages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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