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

Method WriteMsg

logs/logs/log.go:69–69  ·  view source on GitHub ↗
(msg string, level int)

Source from the content-addressed store, hash-verified

67type LoggerInterface interface {
68 Init(config map[string]interface{}) error
69 WriteMsg(msg string, level int) error
70 Destroy()
71 Flush()
72}

Callers 4

TestConsoleDestroyFlushFunction · 0.65
writerMsgMethod · 0.65
startLoggerMethod · 0.65
CloseMethod · 0.65

Implementers 4

ConsoleWriterlogs/logs/console.go
FileLogWriterlogs/logs/file.go
ConnWriterlogs/logs/conn.go
SmtpWriterlogs/logs/smtp.go

Calls

no outgoing calls

Tested by 1

TestConsoleDestroyFlushFunction · 0.52