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.
(msg string)
| 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) { |
| 102 | if fastcheck(DebugLevel) { |
| 103 | log(DebugLevel, msg, nil) |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | // Debugf 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. |
| 108 | func Debugf(format string, things ...interface{}) { |