Warning is used to log (potentially) bad events, but nothing broke (even a little) and there is no need to panic yet.
(msg string)
| 127 | |
| 128 | // Warning is used to log (potentially) bad events, but nothing broke (even a little) and there is no need to panic yet. |
| 129 | func Warning(msg string) { |
| 130 | atomic.AddUint64(warnLogLines, 1) |
| 131 | if fastcheck(WarningLevel) { |
| 132 | log(WarningLevel, msg, nil) |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | // Warningf is used to log (potentially) bad events, but nothing broke (even a little) and there is no need to panic yet. |
| 137 | func Warningf(format string, things ...interface{}) { |