// Error is a convenient alias for log.Error with stats
555762
func Error(msg string, ctx ...interface{}) {
	metrics.GetOrRegisterCounter("error", nil).Inc(1)
	l.Output(msg, l.LvlError, CallDepth, ctx...)
}
299516
func Error(err error) {
	logger.Error(fmt.Sprintf("error: %v", err))
	os.Exit(1)
}
358450
func (e *Error) Error() string {
	if e.apiError != nil {
		return e.apiError.msg
	}
	if e.Err == nil {
		return ""
	}
	return e.Err.Error()
}
10560
func (e *Entry) Error(msg string) {
	e.Logger.log(ErrorLevel, e, msg)
}
874932
func (l *Logger) Error(msg string, fields map[string]interface{}) error {
	return l.Log(LvError, msg, fields)
}
1010617
func (sl *standardLogger) Error(info, msg string) {
	sl.writeLog("ERROR", info, msg)
}
766299
func (entry *Entry) Error(args ...interface{}) {
	if entry.lgEntry.Logger.Level >= lg.ErrorLevel {
		entry.lgEntry.WithFields(entry.fields).Error(args...)
	}
}
1103871
func (e *ErrorObject) Error() string {
	err := fmt.Sprintf("%v error", e.Code)
	if e.Field != "" {
		err = fmt.Sprintf("%v caused by %v field", err, e.Field)
	}
	err = fmt.Sprintf("%v on %v resource", err, e.Resource)
	if e.Message != "" {
		err = fmt.Sprintf("%v: %v", err, e.Message)
	}

	return err
}
1120724
func (l *Logger) Error(msg string, v ...interface{}) {
	l.Log("ERROR", msg, v)
}
366862
func (s *SyslogLogger) Error(v ...interface{}) {
	s.w.Err(fmt.Sprint(v...))
}
1185086
func (l *Logger) Error(v ...interface{}) {
	l.output(sError, 0, fmt.Sprint(v...))
}
52915
func (dl *DefaultLogger) Error(message string, params ...interface{}) {
	dl.logger.Errorf(message, params...)
}
586052
func (s *ReportStatus) Error() error {
	if s.UnpackStatus != ok {
		return fmt.Errorf("unpack error: %s", s.UnpackStatus)
	}

	for _, s := range s.CommandStatuses {
		if err := s.Error(); err != nil {
			return err
		}
	}

	return nil
}
815366
func Error(format string, v ...interface{}) {
	log.Error(fmt.Sprintf(format, v...))
}
1037717
func (l *Log) Error(args ...interface{}) {
	opts := getLoggerOpts(l.module, api.ERROR)
	if !opts.levelEnabled {
		return
	}
	if l.loadCustomLogger() {
		l.customLogger.Error(args...)
		return
	}
	l.log(opts, api.ERROR, args...)
}
315428
func (c *context) Error(format string, args ...interface{}) {
	c.logger.Error(c.prefixFormat()+format, args...)
}
1279447
func (sl *SysLogger) Error(info, msg string) {
	sl.writer.Err(info + " " + msg)
}