def log_step(id, step, context, options, error=nil)
      return unless Hero.logger
      if error
        Hero.logger.error "HERO #{id.to_s.ljust(6)} #{formula_name} -> #{step.first} Context: #{context.inspect} Options: #{options.inspect} Error: #{error.message}"
      else
        Hero.logger.info "HERO #{id.to_s.ljust(6)} #{formula_name} -> #{step.first} Context: #{context.inspect} Options: #{options.inspect}"
      end
    end
def log_step(id, step, context, options, error=nil)
      return unless Hero.logger
      if error
        Hero.logger.error "HERO #{id.to_s.ljust(6)} #{formula_name} -> #{step.first} Context: #{context.inspect} Options: #{options.inspect} Error: #{error.message}"
      else
        Hero.logger.info "HERO #{id.to_s.ljust(6)} #{formula_name} -> #{step.first} Context: #{context.inspect} Options: #{options.inspect}"
      end
    end
Logs a step to the registered Hero.logger.
 @note Users info for the log level.
 @param [Symbol, String] id The identifier for the step. [:before, :after]
 @param [Object] step
 @param [Object] context
 @param [Object] options