internal

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug added in v0.8.3

func Debug(v ...any)

Debug logs a debug-level message.

func Debugf added in v0.8.3

func Debugf(format string, v ...any)

Debugf logs a formatted debug-level message.

func DisableDebugLogging

func DisableDebugLogging()

DisableDebugLogging disables the logger so no logs are emitted.

func EnableDebugLogging

func EnableDebugLogging()

EnableDebugLogging sets the logger level to Debug. Kept for backwards compatibility with existing tests.

func Error added in v0.8.3

func Error(v ...any)

Error logs an error-level message.

func Errorf added in v0.8.3

func Errorf(format string, v ...any)

Errorf logs a formatted error-level message.

func Info added in v0.8.3

func Info(v ...any)

Info logs an info-level message.

func Infof added in v0.8.3

func Infof(format string, v ...any)

Infof logs a formatted info-level message.

func Log

func Log(v ...any)

Log logs a debug-level message.

func Logf

func Logf(format string, v ...any)

Logf logs a formatted debug-level message.

func Logger added in v0.8.3

func Logger() *zerolog.Logger

Logger exposes the underlying logger for advanced configuration or chaining. Do not replace the returned value's fields; prefer Set* helpers.

func SetLevel added in v0.8.3

func SetLevel(level zerolog.Level)

SetLevel allows callers to control the library logger level independently from any application loggers.

func SetOutput added in v0.8.3

func SetOutput(w io.Writer)

SetOutput allows redirecting log output.

func Warn added in v0.8.3

func Warn(v ...any)

Warn logs a warn-level message.

func Warnf added in v0.8.3

func Warnf(format string, v ...any)

Warnf logs a formatted warn-level message.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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