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

Method Trace

log.go:341–343  ·  view source on GitHub ↗

Trace starts a new message with trace level. You must call Msg on the returned event in order to send the event.

()

Source from the content-addressed store, hash-verified

339//
340// You must call Msg on the returned event in order to send the event.
341func (l *Logger) Trace() *Event {
342 return l.newEvent(TraceLevel, nil)
343}
344
345// Debug starts a new message with debug level.
346//

Callers 6

WithLevelMethod · 0.95
ExampleLogger_TraceFunction · 0.45
TestLevelWriterFunction · 0.45
ExampleLogger_TraceFunction · 0.45
TraceFunction · 0.45
TestWriteWithAllLevelsFunction · 0.45

Calls 1

newEventMethod · 0.95

Tested by 4

ExampleLogger_TraceFunction · 0.36
TestLevelWriterFunction · 0.36
ExampleLogger_TraceFunction · 0.36
TestWriteWithAllLevelsFunction · 0.36