// Crit logs a message using the LOG_CRIT priority.
971291
func (w *Writer) Crit(m string) (err error) {
	_, err = w.writeString(LOG_CRIT, m)
	return err
}
372816
func (m *MockGitilesServer) Log(arg0 context.Context, arg1 *LogRequest) (*LogResponse, error) {
	ret := m.ctrl.Call(m, "Log", arg0, arg1)
	ret0, _ := ret[0].(*LogResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}
658616
func (writer *SocketWriter) Critical(args ...interface{}) {
	if nil == writer.writer || CRITICAL < writer.level {
		return
	}

	writer.write(CRITICAL, args...)
}
1121651
func Crit(msg string, ctx ...interface{}) {
	root.write(msg, LvlCrit, ctx, skipLevel)
	os.Exit(1)
}
1336314
func (lo Logger) Log(pr Priority, me ...interface{}) {
	logMessage(lo, pr, me)
}
161534
func (gl *goLogger) Critical(info, msg string) {
	log.Println("[CRITICAL]", info, msg)
}
900903
func (l *DefaultLogger) Log(level int, msg string, args []interface{}) {
	// log if the log level (warn=4) >= level of message (err=3)
	if l.level < level || silent {
		return
	}
	l.formatter.Format(l.writer, level, msg, args)
}
1049179
func (d DefaultLogger) Log(level LogLevel, a ...interface{}) (n int, err error) {
	if level >= logThreshhold {
		fmt.Fprint(os.Stderr, prefix(level)+" ")
		return fmt.Fprintln(os.Stderr, a...)
	}
	return 0, nil
}
1009809
func (log Logger) Log(lvl Level, source, message string) {
	skip := true

	// Determine if any logging will be done
	for _, filt := range log {
		if lvl >= filt.Level {
			skip = false
			break
		}
	}
	if skip {
		return
	}

	// Make the log record
	rec := &LogRecord{
		Level:   lvl,
		Created: time.Now(),
		Source:  source,
		Message: message,
	}

	// Dispatch the logs
	for _, filt := range log {
		if lvl < filt.Level {
			continue
		}
		filt.LogWrite(rec)
	}
}
516918
func (l *Logger) Critical(v ...interface{}) {
	l.Fprint(l.flags, LEVEL_CRITICAL, 2, fmt.Sprint(v...), nil)
}
1264334
func (logs *Logs) Critical(v ...interface{}) {
	logs.CRITICAL().Output(2, fmt.Sprintln(v...))
}
465839
func Critical(format string, values ...interface{}) {
	mu.Lock()
	logger.Logf("[CRITICAL] "+format, values...)
	mu.Unlock()
}
1129210
func (l *logger) Critical(format string, args ...interface{}) {
	if l.Level >= CRITICAL {
		l.log(CRITICAL, format, args...)
	}
}
603807
func Critical(msg string, fields map[string]interface{}) error {
	return defaultLogger.Log(LvCritical, msg, fields)
}
887476
func (rl *RevelLogger) Panic(msg string, ctx ...interface{}) {
	rl.Crit(msg, ctx...)
	panic(msg)
}
1138288
func (l Logger) logFail(format string, a ...interface{}) {
	l.Crit(fmt.Sprintf("[failed]   %s", format), a...)
}
1308407
func Log(lvl level, source, message string) {
	Global.Log(lvl, source, message)
}