logging

package
v0.0.0-...-89416fd Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShouldLog

func ShouldLog() bool

ShouldLog returns true if in DEBUG mode

func Trace

func Trace(name string, t time.Time) time.Time

func TraceStart

func TraceStart(name string) func() time.Time

func Track

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

Track logs information IFF the DEBUG env variable is "true" error handling should use std log package

Types

This section is empty.

Jump to

Keyboard shortcuts

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