tlogger

package
v0.0.0-...-dccbc30 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ApplyLogLevel func(string)

applyLogLevel applies min logging level

Log is the default logger for apps

Functions

func Debug

func Debug(keyvals ...interface{})

Debug add a log entry w/ Debug level

func Error

func Error(keyvals ...interface{})

Error add a log entry w/ Error level

func Fatal

func Fatal(keyvals ...interface{})

Fatal add a log entry w/ Error level and exits

func FatalIf

func FatalIf(err error)

FatalIf prints a fatal Error level and exits if err != nil

func Info

func Info(keyvals ...interface{})

Info add a log entry w/ Info level

func Warn

func Warn(keyvals ...interface{})

Warn add a log entry w/ Warn level

Types

This section is empty.

Jump to

Keyboard shortcuts

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