Module: DebugLogging::LambDarts::ExitLog

Defined in:
lib/debug_logging/lamb_darts/exit_log.rb

Instance Method Summary collapse

Instance Method Details

#_dl_ld_exit_log(ld) ⇒ Object



4
5
6
7
8
9
10
11
12
# File 'lib/debug_logging/lamb_darts/exit_log.rb', line 4

def _dl_ld_exit_log(ld)
  hrv = yield
  return hrv unless ld.mark_exit_scope?

  ld.config_proxy.log do
    "#{ld.end_timestamp}#{ld.log_prefix} completed#{ld.invocation_id}"
  end
  hrv
end