def log_time
      Mako.logger.info 'Generating...'
      start_time = Time.now.to_f
      yield
      generation_time = Time.now.to_f - start_time
      Mako.logger.info "done in #{generation_time} seconds"
    end
def log_time
      Mako.logger.info 'Generating...'
      start_time = Time.now.to_f
      yield
      generation_time = Time.now.to_f - start_time
      Mako.logger.info "done in 
    end
def log_time Mako . logger . info 'Generating...' start_time = Time . now . to_f yield generation_time = Time . now . to_f - start_time Mako . logger . info "done in #{generation_time} seconds" end
Provides build time logging information and writes it to STDOUT.
Provides build time logging information and writes it to STDOUT .