// Panic logs an Fx line then panics.
774467
func (l *Logger) Panic(err error) {
	l.Printer.Printf(prepend(err.Error()))
	panic(err)
}
622695
func Panicf(format string, args ...interface{}) {
	logrus.Warnf(format, args...)
	err := DumpGoProfile()
	if err != nil {
		logrus.Fatal(err)
	}
	DumpHeap()
	os.Exit(6)
}
489562
func (l *Logger) Panicln(v ...interface{}) {
	if l.Level >= PanicLevel {
		l.Logger.Panicln(PanicLevel.String() + fmt.Sprint(v...))
	}
}
823778
func (logger *Logger) Panicf(format string, args ...interface{}) {
	if logger.std.Level >= lg.PanicLevel {
		logger.header(1).Panicf(format, args...)
	}
}
81884
func (me *Logger) Panic(v ...interface{}) {
	me.setFullPrefix(Pfatal)
	me.logger.Panic(v...)
}
1058026
func (l *Logger) Panicf(format string, v ...interface{}) {
	s := fmt.Sprintf(format, v...)
	_ = l.Output(FATAL, 4, s)
	panic(s)
}
1126289
func PanicIfErr(err error, args ...interface{}) {
	if err == nil {
		return
	}
	panicWithMsg(err.Error(), args...)
}
308921
func (entry *Entry) Panicln(args ...interface{}) {
	if entry.lgEntry.Logger.Level >= lg.PanicLevel {
		entry.lgEntry.WithFields(entry.fields).Panicln(entry.sprintlnn(args...))
	}
}
209488
func (l *Logger) Panicf(format string, v ...interface{}) {
	l.Fprint(l.flags, LEVEL_CRITICAL, 2, fmt.Sprintf(format, v...), nil)
	panic(v)
}
265628
func Panic(v ...interface{}) {
	s := fmt.Sprint(v...)
	_ = std.Output(FATAL, 4, s)
	panic(s)
}
771470
func panicCommand(format string, values ...interface{}) {
	e := commandError{fmt.Errorf(format, values...)}
	panic(e)
}
1340082
func Panicln(v ...interface{}) {
	s := fmt.Sprintln(v...)
	_ = std.Output(FATAL, 4, s)
	panic(s)
}
353659
func (entry *Entry) Panic(args ...interface{}) {
	entry.WithField(errorLevelKey, "panic").Entry.Error(args...)
	safeRollbarWait(time.Second)
	panic(fmt.Sprint(args...))
}
132609
func (n *LevelLogger) Panicf(format string, v ...interface{}) {
	if !n.Enabled() {
		return
	}
	s := fmt.Sprintf(format, v...)
	n.mu.RLock()
	n.logger.Output(callDepth, s)
	n.mu.RUnlock()
	panic(s)
}
344319
func Panicsf(t TestingT, f PanicTestFunc, msg string, args ...interface{}) bool {
	if h, ok := t.(tHelper); ok {
		h.Helper()
	}
	return Panics(t, f, append([]interface{}{msg}, args...)...)
}
791650
func (l *Logger) Panicln(v ...interface{}) {
	s := fmt.Sprintln(v...)
	l.base.SetPrefix(l2s[LFatal])
	l.base.Output(2, s)
	panic(s)
}
689257
func Panics(t TestingT, f PanicTestFunc, msgAndArgs ...interface{}) bool {

	if funcDidPanic, panicValue := didPanic(f); !funcDidPanic {
		return Fail(t, fmt.Sprintf("func %#v should panic\n\r\tPanic value:\t%v", f, panicValue), msgAndArgs...)
	}

	return true
}