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

Function ExampleLogger_Println

log_example_test.go:98–104  ·  log_example_test.go::ExampleLogger_Println
()

Source from the content-addressed store, hash-verified

96}
97
98func ExampleLogger_Println() {
99 log := zerolog.New(os.Stdout)
100
101 log.Println("hello world")
102
103 // Output: {"level":"debug","message":"hello world\n"}
104}
105
106func ExampleLogger_Trace() {
107 log := zerolog.New(os.Stdout)

Callers

nothing calls this directly

Calls 2

NewFunction · 0.92
PrintlnMethod · 0.80

Tested by

no test coverage detected