tlog

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package tlog provides helpers for adding timestamps to test logging.

Index

Constants

This section is empty.

Variables

View Source
var TimeFormat = time.RFC3339Nano

Functions

func Error

func Error(t *testing.T, args ...any)

Error logs to T with a timestamp

func Errorf

func Errorf(t *testing.T, format string, args ...any)

Errorf logs to T with a timestamp

func Fatal

func Fatal(t *testing.T, args ...any)

Fatal logs to T with a timestamp

func Fatalf

func Fatalf(t *testing.T, format string, args ...any)

Fatalf logs to T with a timestamp

func Log

func Log(t *testing.T, args ...any)

Log logs to T with a timestamp

func Logf

func Logf(t *testing.T, format string, args ...any)

Logf logs to T with a timestamp

Types

This section is empty.

Jump to

Keyboard shortcuts

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