Printf sends a log event using debug level and no extra field. Arguments are handled in the manner of fmt.Printf.
(format string, v ...interface{})
| 121 | // Printf sends a log event using debug level and no extra field. |
| 122 | // Arguments are handled in the manner of fmt.Printf. |
| 123 | func Printf(format string, v ...interface{}) { |
| 124 | Logger.Debug().CallerSkipFrame(1).Msgf(format, v...) |
| 125 | } |
| 126 | |
| 127 | // Ctx returns the Logger associated with the ctx. If no logger |
| 128 | // is associated, a disabled logger is returned. |