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

Method scratchEvent

log.go:507–509  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

505}
506
507func (l *Logger) scratchEvent() *Event {
508 return newEvent(LevelWriterAdapter{io.Discard}, DebugLevel, l.stack, l.ctx, l.hooks)
509}
510
511// disabled returns true if the logger is a disabled or nop logger.
512func (l *Logger) disabled() bool {

Callers 3

ObjectMethod · 0.80
ObjectsMethod · 0.80
EmbedObjectMethod · 0.80

Calls 1

newEventFunction · 0.85

Tested by

no test coverage detected