// LogAlwaysIf prints a detailed error message during
// the execution of the server.
168085
func LogAlwaysIf(ctx context.Context, err error) {
	if err == nil {
		return
	}

	logIf(ctx, err)
}
1117189
func (c *Client) errorf(format string, args ...interface{}) {
	if c.errorlog != nil {
		c.errorlog.Printf(format, args...)
	}
}
175963
func (l *logger) Errorf(format string, a ...interface{}) {
	l.printLog("[ERROR]", format, a...)
}
551490
func (logger *Logger) Errorf(format string, args ...interface{}) {
	if logger.std.Level >= lg.ErrorLevel {
		logger.header(1).Errorf(format, args...)
	}
}
836986
func (d DefaultLogger) Logf(level LogLevel, format string, a ...interface{}) (n int, err error) {
	if level >= logThreshhold {
		return fmt.Fprintf(os.Stderr, prefix(level)+" "+format+"\n", a...)
	}

	return 0, nil
}
103199
func (l *loop) logf(isError bool, format string, a ...interface{}) {
	if l.descr == "" {
		return
	}
	if isError {
		logger.Errorf(format, a...)
	} else {
		logger.Infof(format, a...)
	}
}
908043
func (log Logger) Logf(lvl level, format string, args ...interface{}) {
	log.intLogf(lvl, format, args...)
}
910352
func (l BaseLogger) Logf(fmt string, values ...interface{}) {
	log.Printf(fmt, values...)
}
1339319
func LogIf(ctx context.Context, err error) {
	if err == nil {
		return
	}

	if err.Error() != diskNotFoundError {
		logIf(ctx, err)
	}
}
811114
func (a *assertion) Logf(format string, args ...interface{}) {
	a.failer.Logf(format, args...)
}
543149
func logf(format string, a ...interface{}) {
	if Logger != nil {
		Logger.Printf(format, a...)
		return
	}
	log.Printf(format, a...)
}
460992
func (t LoggerType) Errorf(format string, a ...interface{}) {
	text := fmt.Sprintf(format, a...)

	msgopts, err := t.options.Formatter.formatSkip(text, 1, true)
	if err != nil {
		t.options.FallbackLogger.Trace(ErrSlackFormatFailed1.New(err, text))
		return
	}

	t.sendMessage(t.options.ChannelError, msgopts...)
}
689921
func Errorf(format string, v ...interface{}) {
	if LogLevel >= 1 {
		DoLog(3, ERROR, fmt.Sprintf(format, v...))
	}
}
1159207
func Logf(logLvl int, format string, v ...interface{}) {
	if LogLevel >= logLvl {
		DoLog(3, logLvl, fmt.Sprintf(format, v...))
	}
}
570614
func (entry *Entry) Logf(level Level, format string, args ...interface{}) {
	if entry.Logger.IsLevelEnabled(level) {
		entry.Log(level, fmt.Sprintf(format, args...))
	}
}
890264
func (l *Slog) Errorf(s string, v ...interface{}) {
	l = l.copy()
	l.Log.di(fnLevelDi)
	l.Log.Priority = ErrorPrio
	l.Log.Message(fmt.Sprintf(s, v...))
	l.commit()
}
1031345
func (c *Client) logf(msg string, args ...interface{}) {
	c.Logger.Printf(msg, args...)
}