code: func (logger *Logger) Errorf(format string, args ...interface{}) {
  	logger.log(ERROR, fmt.Sprintf(format, args...))
  }
docs: // Injects a log in the error class for this category if logging for this
  // category is enabled, otherwise this does nothing. This formats the log line
  // using the format string provided (See fmt.Sprintf).