MCPcopy Create free account
hub / github.com/ankorstore/yokai / Errorj

Method Errorj

httpserver/logger.go:138–140  ·  view source on GitHub ↗

Errorj produces a json log with error level.

(j echologger.JSON)

Source from the content-addressed store, hash-verified

136
137// Errorj produces a json log with error level.
138func (e *EchoLogger) Errorj(j echologger.JSON) {
139 e.logJSON(e.logger.Error(), j)
140}
141
142// Fatal produces a log with fatal level.
143func (e *EchoLogger) Fatal(i ...interface{}) {

Callers 1

TestErrorLoggingFunction · 0.95

Calls 2

logJSONMethod · 0.95
ErrorMethod · 0.45

Tested by 1

TestErrorLoggingFunction · 0.76