log

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: MIT Imports: 4 Imported by: 19

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 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