module Rails::Generators::Actions

def log(*args) # :doc:

:doc:
similarly to say_status, this method respects the quiet? option given.
invoke say, otherwise invoke say_status. Differently from say and
Define log for backwards compatibility. If just one argument is sent,
def log(*args) # :doc:
  if args.size == 1
    say args.first.to_s unless options.quiet?
  else
    args << (behavior == :invoke ? :green : :red)
    say_status(*args)
  end
end