class YARD::Logger

def capture(msg, nontty_log = :debug)

Returns:
  • (void) -

Other tags:
    Yield: - a block of arbitrary code to benchmark

Parameters:
  • nontty_log (Symbol, nil) -- the level to log as if the output
  • msg (String) -- the message to display

Other tags:
    Todo: - Implement capture storage for reporting of benchmarks
def capture(msg, nontty_log = :debug)
  progress(msg, nontty_log)
  yield
ensure
  clear_progress
end