Skip to content

Commit

Permalink
#419 logs
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 19, 2024
1 parent a659445 commit 6b60796
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/incremate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
# SOFTWARE.

require 'time'
require 'tago'
require 'fbe/octo'
require 'fbe/overwrite'
require_relative 'jp'
Expand All @@ -43,6 +44,9 @@ def Jp.incremate(fact, dir, prefix)
break
end
require_relative rb
send(n, fact).each { |k, v| fact = Fbe.overwrite(fact, k.to_s, v) }
before = Time.now
h = send(n, fact)
h.each { |k, v| fact = Fbe.overwrite(fact, k.to_s, v) }
$loog.info("Collected #{n} in #{before.ago}: [#{h.map { |k, v| "#{k}: #{v}" }.join(', ')}]")
end
end

0 comments on commit 6b60796

Please sign in to comment.