Infof is used to log mildly significant events. Should be used to inform about somewhat bigger or user affecting events that happen.
(format string, things ...interface{})
| 120 | |
| 121 | // Infof is used to log mildly significant events. Should be used to inform about somewhat bigger or user affecting events that happen. |
| 122 | func Infof(format string, things ...interface{}) { |
| 123 | if fastcheck(InfoLevel) { |
| 124 | log(InfoLevel, fmt.Sprintf(format, things...), nil) |
| 125 | } |
| 126 | } |
| 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) { |