(format string, args ...any)
| 95 | } |
| 96 | |
| 97 | func (l *Logger) Fatalf(format string, args ...any) { |
| 98 | l.logMsg(FatalLevel, fmt.Sprintf(format, args...)) |
| 99 | osExit(1) |
| 100 | } |
| 101 | |
| 102 | // Base is the interface that underlies the Logger. It receives the caller |
| 103 | // skip count, log level, and formatted message. |