Critical is used to log events that completely break the system. Operation cannot continue. User/Admin must be informed.
(msg string)
| 159 | |
| 160 | // Critical is used to log events that completely break the system. Operation cannot continue. User/Admin must be informed. |
| 161 | func Critical(msg string) { |
| 162 | atomic.AddUint64(critLogLines, 1) |
| 163 | if fastcheck(CriticalLevel) { |
| 164 | log(CriticalLevel, msg, nil) |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | // Criticalf is used to log events that completely break the system. Operation cannot continue. User/Admin must be informed. |
| 169 | func Criticalf(format string, things ...interface{}) { |