Fatal constructs a message with the provided arguments and calls os.Exit. Spaces are added between arguments when neither is a string.
(args ...interface{})
| 183 | // Fatal constructs a message with the provided arguments and calls os.Exit. |
| 184 | // Spaces are added between arguments when neither is a string. |
| 185 | func (s *SugaredLogger) Fatal(args ...interface{}) { |
| 186 | s.log(FatalLevel, "", args, nil) |
| 187 | } |
| 188 | |
| 189 | // Logf formats the message according to the format specifier |
| 190 | // and logs it at provided level. |