utillog

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package utillog is a simple logging interface with three different types of log messages that can be enabled via the 3 variables LogInfo, LogWarn, and LogDebug.

Index

Constants

This section is empty.

Variables

View Source
var (
	LogInfo  = true
	LogWarn  = false
	LogDebug = false
)

Functions

func Debug

func Debug(args ...any)

func Debugf

func Debugf(s string, args ...any)

func Fatal

func Fatal(args ...any)

func Fatalf

func Fatalf(s string, args ...any)

func Info

func Info(args ...any)

func Infof

func Infof(s string, args ...any)

func Warn

func Warn(args ...any)

func Warnf

func Warnf(s string, args ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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