log

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package log provides a simple logging interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debugf

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

Debugf logs a message at level Debug.

func Errorf

func Errorf(format string, args ...any)

Errorf logs a message at level Error.

func Fatal

func Fatal(args ...any)

Fatal logs a message at level Fatal.

func Info

func Info(args ...any)

Info logs a message at level Info.

func Infof

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

Infof logs a message at level Info.

func SetLogLevel

func SetLogLevel(logLevel string)

SetLogLevel sets the log level based on the debug flag

func Warnf

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

Warnf logs a message at level Warn.

Types

This section is empty.

Jump to

Keyboard shortcuts

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