MCPcopy
hub / github.com/andeya/pholcus / TestSyncWrite

Function TestSyncWrite

logs/logs/log_test.go:116–121  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

114}
115
116func TestSyncWrite(t *testing.T) {
117 bl := NewLogger(100)
118 bl.Async(false)
119 bl.SetLogger("console", map[string]interface{}{"level": LevelDebug})
120 bl.Debug("sync")
121}
122
123func TestPauseOutputGoOn(t *testing.T) {
124 bl := NewLogger(100)

Callers

nothing calls this directly

Calls 4

NewLoggerFunction · 0.85
AsyncMethod · 0.80
SetLoggerMethod · 0.65
DebugMethod · 0.65

Tested by

no test coverage detected