module Rails::Generators::Actions

def log(*args)


invoke say, otherwise invoke say_status.
Define log for backwards compatibility. If just one argument is sent,
def log(*args)
  if args.size == 1
    say args.first.to_s
  else
    args << (self.behavior == :invoke ? :green : :red)
    say_status *args
  end
end