logger

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	IsVerbose = false
)

holds logger and verbose setting

Functions

func Log

func Log(v ...any)

default non verbose logging

func Logf

func Logf(format string, v ...any)

default non verbose formatted logging

func Setup

func Setup(prefix string, verbose bool)

setup have to be called on start to configure logger instance

func Verbose

func Verbose(v ...any)

verbose logging

func Verbosef

func Verbosef(format string, v ...any)

verbose formatted logging

Types

This section is empty.

Jump to

Keyboard shortcuts

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