package
0.0.0-20231129065837-deba56b04b66
Repository: https://github.com/chipartem/k6.git
Documentation: pkg.go.dev
# Packages
Package httpmultibin is indended only for use in tests, do not import in production code!.
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
FilterEntries is a helper function that checks the provided list of log entries for a messages matching the provided level and contents and returns an array with only them.
LogContains is a helper function that checks the provided list of log entries for a message matching the provided level and contents.
NewLogger returns a new logger instance.
NewLoggerWithHook calls NewLogger() and attaches a hook with the given levels.
NewLogHook creates a new SimpleLogrusHook with the given levels and returns it.
NewTestOutput returns a simple io.Writer implementation that uses the test's logger as an output.
Untar a simple test helper that untars a `fileName` file to a `destination` path.
# Structs
SimpleLogrusHook implements the logrus.Hook interface and could be used to check if log messages were outputted.