Tracef is used to log tiny steps. Log traces to context if you can!
(format string, things ...interface{})
| 92 | |
| 93 | // Tracef is used to log tiny steps. Log traces to context if you can! |
| 94 | func Tracef(format string, things ...interface{}) { |
| 95 | if fastcheck(TraceLevel) { |
| 96 | log(TraceLevel, fmt.Sprintf(format, things...), nil) |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | // Debug is used to log minor errors or unexpected events. These occurrences are usually not worth mentioning in itself, but they might hint at a bigger problem. |
| 101 | func Debug(msg string) { |