MCPcopy
hub / github.com/sirupsen/logrus / Format

Method Format

formatter.go:27–27  ·  view source on GitHub ↗
(*Entry)

Source from the content-addressed store, hash-verified

25// logged to `logger.Out`.
26type Formatter interface {
27 Format(*Entry) ([]byte, error)
28}
29
30// This is to not silently overwrite `time`, `msg`, `func` and `level` fields when

Callers 9

BytesMethod · 0.65
writeMethod · 0.65
doBenchmarkFunction · 0.65
FormatMethod · 0.65
FormatMethod · 0.65
printColoredMethod · 0.65

Implementers 2

JSONFormatterjson_formatter.go
TextFormattertext_formatter.go

Calls

no outgoing calls

Tested by 4

doBenchmarkFunction · 0.52