logging

package
v1.2.23 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogToCurrentTest

func LogToCurrentTest(testID, message string)

LogToCurrentTest logs to the currently active test

func LogToCurrentTestOrService

func LogToCurrentTestOrService(testID, message string)

LogToCurrentTestOrService tries to log to current test, falls back to service

func LogToService

func LogToService(message string)

LogToService logs to service logs

func SetTestLogger

func SetTestLogger(logger TestLogger)

SetTestLogger sets the global test logger (called by TUI)

Types

type TestLogger

type TestLogger interface {
	LogToCurrentTest(testID, message string)
	LogToService(message string)
}

TestLogger interface for logging to specific tests

Jump to

Keyboard shortcuts

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