Documentation
¶
Overview ¶
Package logger provides printf-style helpers for zerolog.
Package logger provides a global zerolog logger for the AgentField CLI.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Logger is the global zerolog logger instance. Logger zerolog.Logger )
Functions ¶
func Debugf ¶
func Debugf(format string, args ...interface{})
Debugf logs a debug-level message with formatting.
func Errorf ¶
func Errorf(format string, args ...interface{})
Errorf logs an error-level message with formatting.
func Infof ¶
func Infof(format string, args ...interface{})
Infof logs an info-level message with formatting.
func InitLogger ¶
func InitLogger(verbose bool)
InitLogger initializes the global logger with the specified log level.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.