logger

package
v0.0.0-...-c21f008 Latest Latest
Warning

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

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

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.

func Successf

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

Successf logs a success-level message (info with a checkmark).

func Warnf

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

Warnf logs a warning-level message with formatting.

Types

This section is empty.

Jump to

Keyboard shortcuts

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