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

Function ExampleLogger_Print

log_example_test.go:82–88  ·  log_example_test.go::ExampleLogger_Print
()

Source from the content-addressed store, hash-verified

80}
81
82func ExampleLogger_Print() {
83 log := zerolog.New(os.Stdout)
84
85 log.Print("hello world")
86
87 // Output: {"level":"debug","message":"hello world"}
88}
89
90func ExampleLogger_Printf() {
91 log := zerolog.New(os.Stdout)

Callers

nothing calls this directly

Calls 2

NewFunction · 0.92
PrintMethod · 0.80

Tested by

no test coverage detected