log

package
v0.0.0-...-00fa4f3 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

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

Debug logs debug messages

func EnableDebug

func EnableDebug()

EnableDebug enabled debug logging and caller reporting

func EnableSilence

func EnableSilence()

EnableSilence will silence most logs, except this written with Print

func Error

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

Error logs error messages

func Fatal

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

Fatal logs fatal messages and panics

func Info

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

Info logs info messages

func Print

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

Print logs messages regardless of level

func Warn

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

Warn logs warning messages

Types

type LLogger

type LLogger = log.Logger

LLogger is a charmbracelet logger type redefinition

var Logger *LLogger

Logger is this package level logger

func With

func With(keyvals ...interface{}) *LLogger

With returns a sublogger with a prefix

Jump to

Keyboard shortcuts

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