Documentation
¶
Index ¶
- func AsyncLite[T gtests.FailureLoggableTesting](testing T, loggerLevel gtests.LoggerStrategy) gtests.LoggableAsyncRunnableTools
- func ConcLite[T gtests.FailureLoggableTesting](testing T, loggerLevel gtests.LoggerStrategy) gtests.LoggableRunnableTools
- func GtoolsLite[T gtests.FailureLoggableTesting](testing T, loggerLevel gtests.LoggerStrategy) gtests.GtoolsLite
- func LoggableToolsLite[T gtests.FailureLoggableTesting](testing T, loggerLevel gtests.LoggerStrategy) gtests.LoggableTools
- func LoggersLite[T gtests.FailureLoggableTesting](testing T, loggerLevel gtests.LoggerStrategy) gtests.Loggable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsyncLite ¶
func AsyncLite[T gtests.FailureLoggableTesting](testing T, loggerLevel gtests.LoggerStrategy) gtests.LoggableAsyncRunnableTools
AsyncLite returns a new tests.LoggableAsyncRunnableTools instance that can be used to test functions with logging and runnable contexts. The loggerLevel parameter determines the minimum log level for which messages are logged. The returned instance of tests.LoggableAsyncRunnableTools is thread-safe.
func ConcLite ¶
func ConcLite[T gtests.FailureLoggableTesting](testing T, loggerLevel gtests.LoggerStrategy) gtests.LoggableRunnableTools
ConcLite creates a new LoggableRunnableTools instance from a FailureLoggableTesting instance and a loggerLevel. It returns a new concLite instance with the FailureLoggableTesting and loggerLevel parameters. The returned instance of LoggableRunnableTools is thread-safe.
func GtoolsLite ¶
func GtoolsLite[T gtests.FailureLoggableTesting](testing T, loggerLevel gtests.LoggerStrategy) gtests.GtoolsLite
GtoolsLite returns a new tests.GtoolsLite instance configured with the provided testing and loggerLevel parameters.
func LoggableToolsLite ¶
func LoggableToolsLite[T gtests.FailureLoggableTesting](testing T, loggerLevel gtests.LoggerStrategy) gtests.LoggableTools
func LoggersLite ¶
func LoggersLite[T gtests.FailureLoggableTesting](testing T, loggerLevel gtests.LoggerStrategy) gtests.Loggable
LoggersLite creates a new tests.Loggable from a tests.FailureLoggableTesting instance. It prints the log stack to the console based on the logger strategy. The returned instance of LoggableTesting is thread-safe.
Types ¶
This section is empty.