util

package
v0.0.0-...-3d0887b Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogDebug

func LogDebug(m string)

LogDebug only runs when the env var `DEBUG` is set to "true" It adds the "Debug" field and logs an info level message This is a hack to avoid setting up a full-blown logger for now, eventually we should do that

func LogError

func LogError(m string, e string)

LogError logs a message with the provided error string as a field

func LogInfo

func LogInfo(m string)

LogInfo logs an info level message with no additional fields

Types

This section is empty.

Jump to

Keyboard shortcuts

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