MCPcopy
hub / github.com/rs/zerolog / consoleDefaultPartsOrder

Function consoleDefaultPartsOrder

console.go:403–410  ·  view source on GitHub ↗

----- DEFAULT FORMATTERS ---------------------------------------------------

()

Source from the content-addressed store, hash-verified

401// ----- DEFAULT FORMATTERS ---------------------------------------------------
402
403func consoleDefaultPartsOrder() []string {
404 return []string{
405 TimestampFieldName,
406 LevelFieldName,
407 CallerFieldName,
408 MessageFieldName,
409 }
410}
411
412func consoleDefaultFormatTimestamp(timeFormat string, location *time.Location, noColor bool) Formatter {
413 if timeFormat == "" {

Callers 2

NewConsoleWriterFunction · 0.85
WriteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected