MCPcopy Create free account
hub / github.com/MG-RAST/Shock / Log

Method Log

shock-server/logger/logger.go:136–139  ·  view source on GitHub ↗
(log string, lvl l4g.Level, message string)

Source from the content-addressed store, hash-verified

134}
135
136func (l *Logger) Log(log string, lvl l4g.Level, message string) {
137 l.queue <- m{log: log, lvl: lvl, message: message}
138 return
139}
140
141func (l *Logger) Debug(log string, message string) {
142 l.Log(log, l4g.DEBUG, message)

Callers 8

DebugMethod · 0.95
WarningMethod · 0.95
InfoMethod · 0.95
CriticalMethod · 0.95
ErrorMethod · 0.95
PerfMethod · 0.95
NewFunction · 0.80
HandleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected