package
Version:
v0.1.18
Opens a new window with list of versions in this module.
Published: Jul 2, 2025
License: BSD-2-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func Debug(msg string, keyvals ...interface{})
-
func Debugf(format string, a ...interface{})
-
func EnableDebug()
-
func EnableSilence()
-
func Error(msg string, keyvals ...interface{})
-
func Errorf(format string, a ...interface{})
-
func Fatal(msg string, keyvals ...interface{})
-
func Fatalf(format string, a ...interface{})
-
func Info(msg string, keyvals ...interface{})
-
func Infof(format string, a ...interface{})
-
func Print(msg string, keyvals ...interface{})
-
func Printf(format string, a ...interface{})
-
func Warn(msg string, keyvals ...interface{})
-
func Warnf(format string, a ...interface{})
-
type LLogger
func Debug(msg string, keyvals ...interface{})
Debug logs debug messages
func Debugf(format string, a ...interface{})
EnableDebug enabled debug logging and caller reporting
EnableSilence will silence most logs, except this written with Print
func Error(msg string, keyvals ...interface{})
Error logs error messages
func Errorf(format string, a ...interface{})
func Fatal(msg string, keyvals ...interface{})
Fatal logs fatal messages and panics
func Fatalf(format string, a ...interface{})
func Info(msg string, keyvals ...interface{})
Info logs info messages
func Infof(format string, a ...interface{})
func Print(msg string, keyvals ...interface{})
Print logs messages regardless of level
func Printf(format string, a ...interface{})
func Warn(msg string, keyvals ...interface{})
Warn logs warning messages
func Warnf(format string, a ...interface{})
LLogger is a charmbracelet logger type redefinition
Logger is this package level logger
func With(keyvals ...interface{}) *LLogger
With returns a sublogger with a prefix
Source Files
¶
Click to show internal directories.
Click to hide internal directories.