log

package
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: MIT Imports: 4 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Printf

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

func SetDefault

func SetDefault(logger Logger)

SetDefault sets the default Logger instance.

Types

type Logger

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

Logger defines the Logger interface.

func Default

func Default() Logger

Default returns the default Logger instance.

func NewNoopLogger added in v0.44.0

func NewNoopLogger() Logger

func TestLogger

func TestLogger(tb testing.TB) Logger

TestLogger returns a Logging implementation for testing.TB This way logs from testcontainers are part of the test output of a test suite or test case.

Jump to

Keyboard shortcuts

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