log

package
v0.2.41 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DebugLevel = log.DebugLevel
	InfoLevel  = log.InfoLevel
	WarnLevel  = log.WarnLevel
	ErrorLevel = log.ErrorLevel
	FatalLevel = log.FatalLevel
)

Variables

This section is empty.

Functions

func Debug

func Debug(msg interface{}, keyvals ...interface{})

func Debugf

func Debugf(format string, args ...interface{})

func Error

func Error(msg interface{}, keyvals ...interface{})

func Errorf

func Errorf(format string, args ...interface{})

func Fatal

func Fatal(msg interface{}, keyvals ...interface{})

func Fatalf

func Fatalf(format string, args ...interface{})

func GetLevel

func GetLevel() log.Level

func Info

func Info(msg interface{}, keyvals ...interface{})

func Infof

func Infof(format string, args ...interface{})

func Log

func Log(level log.Level, msg interface{}, keyvals ...interface{})

func Logf

func Logf(level log.Level, format string, args ...interface{})

func Print

func Print(msg interface{}, keyvals ...interface{})

func Printf

func Printf(format string, args ...interface{})

func Start

func Start()

Start sets up and starts both stderr and file loggers

func StartFile

func StartFile()

StartFile starts file logger.

func StartStderr

func StartStderr()

StartStderr starts stderr logger. Useful when running bubbletea TUI models.

func Stop

func Stop()

Stop stops both stderr and file loggers

func StopFile

func StopFile()

StopFile stops file logger.

func StopStderr

func StopStderr()

StopStderr stops stderr logger. Useful when running bubbletea TUI models.

func Warn

func Warn(msg interface{}, keyvals ...interface{})

func Warnf

func Warnf(format string, args ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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