lib/banana/logger.rb
# Calls the block after enabling the runtime indicator.
# It also ensures to set back the old setting after execution.
Calls the block after enabling the runtime indicator.
It also ensures to set back the old setting after execution.
Calls the block after enabling the runtime indicator . It also ensures to set back the old setting after execution .
def log_with_timestr &block
      timestr, @timestr = @timestr, true
      block.call
    ensure
      @timestr = timestr
    end
def log_with_timestr & block timestr , @timestr = @timestr , true block . call ensure @timestr = timestr end
Calls the block after enabling the runtime indicator.
Calls the block after enabling the runtime indicator .
block
<not_specific>