log

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2024 License: MIT Imports: 5 Imported by: 1

README

log

Logging functions

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Error = errorLogger.Error
View Source
var Info = infoLogger.Info
View Source
var Warn = warnLogger.Warn

Functions

func Debug

func Debug(ok bool, msg string, args ...any)

func JSON

func JSON(data ...any) string

JSON is meant for displaying information in JSON form. The JSON structure is indented.

Examples:

strings.JSON("hello")

func Log

func Log(msg 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