Example of a log at a particular "level" (in this case, "trace")
()
| 70 | |
| 71 | // Example of a log at a particular "level" (in this case, "trace") |
| 72 | func ExampleTrace() { |
| 73 | setup() |
| 74 | log.Trace().Msg("hello world") |
| 75 | |
| 76 | // Output: {"level":"trace","time":1199811905,"message":"hello world"} |
| 77 | } |
| 78 | |
| 79 | // Example of a log at a particular "level" (in this case, "debug") |
| 80 | func ExampleDebug() { |