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

Method Send

event.go:125–130  ·  view source on GitHub ↗

Send is equivalent to calling Msg(""). NOTICE: once this method is called, the *Event should be disposed.

()

Source from the content-addressed store, hash-verified

123//
124// NOTICE: once this method is called, the *Event should be disposed.
125func (e *Event) Send() {
126 if e == nil {
127 return
128 }
129 e.msg("")
130}
131
132// Msgf sends the event with formatted msg added as the message field if not empty.
133//

Callers 3

TestEvent_WithNilEventFunction · 0.95
TestHTMLNoEscapingFunction · 0.80
WriteMethod · 0.80

Calls 1

msgMethod · 0.95

Tested by 2

TestEvent_WithNilEventFunction · 0.76
TestHTMLNoEscapingFunction · 0.64