//FatalFailed uses the log to print out the failed message
179421
func FatalFailed(fr FatalPrinter, msg string, v ...interface{}) {
	fr.Fatal(Failed(msg, v...))
}
1351474
func (l *Logger) Fatal(v ...interface{}) {
	l.Emit(1, fmt.Sprint(v...), nil)
	os.Exit(1)
}
387113
func fatal(msg string) {
	// add newline if needed
	if !strings.HasSuffix(msg, "\n") {
		msg += "\n"
	}

	if glog.V(2) {
		glog.FatalDepth(2, msg)
	}
	fmt.Fprint(os.Stderr, msg)
	os.Exit(1)
}
80623
func Fail(msg string) {
	logger := blog.Get()
	logger.AuditErr(msg)
	fmt.Fprintf(os.Stderr, msg)
	os.Exit(1)
}
982096
func Fatal(err error, options ...option) logEntry {
	if err != nil {
		options = append(options, Data("error", err.Error()))
	}

	return Entry(lager.FATAL, options...)
}
452190
func (l *Logger) FatalE(msg string, e error) {
	l.Print(l.formatErr(e, msg))
	os.Exit(254)
}
424347
func (sl *SysLogger) Fatal(info, msg string) {
	sl.writer.Emerg(info + " " + msg)
}
681193
func (l *logger) Fatal(format string, args ...interface{}) {
	l.Critical(format, args...)
	l.Handler.Close()
	os.Exit(1)
}
460164
func (n *LevelLogger) Fatalf(format string, v ...interface{}) {
	if !n.Enabled() {
		return
	}
	n.mu.RLock()
	n.logger.Output(callDepth, fmt.Sprintf(format, v...))
	n.mu.RUnlock()
	os.Exit(1)
}
830296
func Fatal(v ...interface{}) {
	if Severity >= LevelFatal {
		std.Output(5, fmt.Sprint(v...), LevelFatal)
		os.Exit(1)
	}
}
556866
func (l *SysLogger) Fatalf(format string, v ...interface{}) {
	msg := formatMsg("FATAL", format, v...)
	l.writer.Error(5, msg)
	panic(msg)
}
776474
func (l *Logger) FatalF(format string, args ...interface{}) {
	l.textLogger.Fatalf(format, args...)
}
298770
func (l *Logger) Fatal(format string, v ...interface{}) {
	l.output(LFatal, format, v...)
}
191098
func (l *Logger) Fatalf(format string, v ...interface{}) {
	l.Printer.Printf(prepend(format), v...)
	_exit()
}
1148031
func (l *Logger) Fatalf(format string, a ...interface{}) {
	l.Print(l.formatErr(fmt.Errorf(format, a...), ""))
	os.Exit(254)
}
1304200
func logFail(op Op, msg string) {
	log.Printf(msg)
	if err := reportStatus(status.StatusError, op, msg); err != nil {
		log.Printf("Error reporting extension status: %v", err)
	}
	if err := seqnumfile.Delete(); err != nil {
		log.Printf("WARNING: Error deleting seqnumfile: %v", err)
	}
	log.Println("Cleaned up .seqnum file.")
	log.Println("Exiting with code 1.")
	os.Exit(1)
}
1027783
func fatalIf(err *probe.Error, msg string, data ...interface{}) {
	if err == nil {
		return
	}
	fatal(err, msg, data...)
}