MCPcopy Create free account
hub / github.com/pace/bricks / Log

Method Log

test/livetest/test_proxy.go:97–99  ·  view source on GitHub ↗

Log logs the passed message in the context of the test

(args ...interface{})

Source from the content-addressed store, hash-verified

95
96// Log logs the passed message in the context of the test
97func (t *T) Log(args ...interface{}) {
98 log.Ctx(t.ctx).Info().Msg(fmt.Sprint(args...))
99}
100
101// Logf logs the passed message in the context of the test
102func (t *T) Logf(format string, args ...interface{}) {

Callers 4

mainFunction · 0.80
ExampleTestFunction · 0.80
TestIntegrationExampleFunction · 0.80

Calls 1

CtxFunction · 0.92

Tested by 3

ExampleTestFunction · 0.64
TestIntegrationExampleFunction · 0.64