logger

package
v0.0.0-...-93ef53b Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Log

func Log(t *testing.T, args ...interface{})

Log calls t.Log, adding an RFC3339 timestamp to the beginning of the log line.

func Logf

func Logf(t *testing.T, format string, args ...interface{})

Logf takes a format string and args and logs formatted string with a timestamp.

Types

type TestLogger

type TestLogger struct{}

TestLogger implements terratest's TestLogger interface so that we can pass it to terratest objects to have consistent logging across all tests.

func (TestLogger) Logf

func (tl TestLogger) Logf(t terratestTesting.TestingT, format string, args ...interface{})

Logf takes a format string and args and calls Logf function.

Jump to

Keyboard shortcuts

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