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

Function Warn

log/log.go:73–75  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

71//
72// You must call Msg on the returned event in order to send the event.
73func Warn() *zerolog.Event {
74 return Logger.Warn()
75}
76
77// Error starts a new message with error level.
78//

Callers 1

ExampleWarnFunction · 0.92

Calls 1

WarnMethod · 0.80

Tested by 1

ExampleWarnFunction · 0.74