log

package
v0.1.0-alpha013 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Printf

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

Printf implements Logging.

func SetDefault

func SetDefault(l Logger)

SetDefault sets the default Logger instance.

Types

type Logger

type Logger interface {
	Printf(format string, v ...any)
}

Logger defines the Logger interface.

var NoopLogger Logger = &noopLogger{}

NoopLogger is a Logger that does nothing.

func Default

func Default() Logger

Default returns the default Logger instance.

Jump to

Keyboard shortcuts

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