MCPcopy
hub / github.com/kopia/kopia / SetLogOutput

Method SetLogOutput

tests/testenv/cli_test_env.go:156–162  ·  view source on GitHub ↗
(enable bool, prefix string)

Source from the content-addressed store, hash-verified

154}
155
156func (e *CLITest) SetLogOutput(enable bool, prefix string) {
157 e.logMu.Lock()
158 defer e.logMu.Unlock()
159
160 e.logOutputEnabled = enable
161 e.logOutputPrefix = prefix
162}
163
164func (e *CLITest) NotificationsSent() []*sender.Message {
165 return testsender.MessagesInContext(e.RunContext)

Callers 2

testAPIServerRepositoryFunction · 0.95
TestServerSchedulingFunction · 0.95

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by 2

testAPIServerRepositoryFunction · 0.76
TestServerSchedulingFunction · 0.76