// LogError logs a message with LOG_PRIORITY_ERROR.
// (https://wiki.libsdl.org/SDL_LogError)
776573
func LogError(category int, str string, args ...interface{}) {
	str = fmt.Sprintf(str, args...)

	cstr := C.CString(str)
	defer C.free(unsafe.Pointer(cstr))

	C._SDL_LogError(C.int(category), cstr)
}
63523
func (l *intLogger) IsError() bool {
	return Level(atomic.LoadInt32(l.level)) <= Error
}
1339362
func (c *C) Error(args ...interface{}) {
	c.logCaller(1)
	c.logString(fmt.Sprint("Error: ", fmt.Sprint(args...)))
	c.logNewLine()
	c.Fail()
}
1050085
func (l *Log) Errorln(args ...interface{}) {
	opts := getLoggerOpts(l.module, api.ERROR)
	if !opts.levelEnabled {
		return
	}
	if l.loadCustomLogger() {
		l.customLogger.Errorln(args...)
		return
	}
	l.logln(opts, api.ERROR, args...)
}
299516
func Error(err error) {
	logger.Error(fmt.Sprintf("error: %v", err))
	os.Exit(1)
}
8806
func (l *logger) Error(format string, args ...interface{}) {
	if l.Level >= ERROR {
		l.log(ERROR, format, args...)
	}
}
1001826
func (l *dglog) Error(v ...interface{}) {
	v = append([]interface{}{common.RUN_ERROR_FORMAT, fmt.Sprintf("%c[0,0,%dm ", 0x1B, 31)}, v...)
	v = append(v, fmt.Sprintf("%c[0m", 0x1B))
	s := fmt.Sprint(v...)
	logDataChan <- s
	panic(s)
}
52091
func (d *DockerHelper) LogError() {
	if !d.errStats.hasError() {
		fmt.Fprintf(os.Stderr, "[Error] %s %s\n", time.Now(), d.errStats.stats())
	}
	d.errStats = newErrorStats()
}
885737
func handleError(wait bool, err error) error {
	if !wait {
		agentLog.WithError(err).Error()
	}

	return err
}
1012631
func Error(err error, options ...option) logEntry {
	if err != nil {
		options = append(options, Data("error", err.Error()))
	}

	return Entry(lager.ERROR, options...)
}
1120724
func (l *Logger) Error(msg string, v ...interface{}) {
	l.Log("ERROR", msg, v)
}
1363273
func (s *SimpleLogger) Error(v ...interface{}) {
	if s.level <= core.LOG_ERR {
		s.ERR.Output(2, fmt.Sprint(v...))
	}
	return
}
222897
func (l *Logger) Error(a ...interface{}) {
	l.logAll(optError, fmt.Sprint(a...))
}
1094360
func (s *XormLogger) Error(v ...interface{}) {
	if s.level <= glog.LvlError {
		s.grafanaLog.Error(fmt.Sprint(v...))
	}
}
165545
func (l *intLogger) Error(msg string, args ...interface{}) {
	l.Log(Error, msg, args...)
}
973101
func (l *Logger) Error(msg string) {
	l.errorLogger.Log(l.messageKey, msg)
}
354868
func Error(format string, v ...interface{}) string {
	return output(LevelError, fmt.Sprintf(format, v...), loggerCodeDepth)
}