MCPcopy Create free account
hub / github.com/daodst/chat / Format

Method Format

internal/log.go:40–43  ·  view source on GitHub ↗
(entry *logrus.Entry)

Source from the content-addressed store, hash-verified

38}
39
40func (f utcFormatter) Format(entry *logrus.Entry) ([]byte, error) {
41 entry.Time = entry.Time.UTC()
42 return f.Formatter.Format(entry)
43}
44
45// Logrus hook which wraps another hook and filters log entries according to their level.
46// (Note that we cannot use solely logrus.SetLevel, because Dendrite supports multiple

Callers 1

UpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected