Permalink
Browse files

change logging format

  • Loading branch information...
grobie committed Oct 9, 2009
1 parent f63de48 commit bed66fa151ecb18238268cd2ab8844108cb6ae3b
Showing with 1 addition and 1 deletion.
  1. +1 −1 detector.rb
View
@@ -48,7 +48,7 @@ def self.process
output(result, key)
finish = Time.now
- puts " processed #{kunden.size} objects and found #{result.size} duplicates in #{time_format(finish-retrieve)} minutes (select: #{time_format(detect-retrieve)}, detect: #{time_format(insert-detect)}, insert: #{time_format(finish-insert)})"
+ puts " #{("%0"+steps.to_s.size.to_s+"d") % (step+1)}: processed #{kunden.size} objects and found #{result.size} duplicates in #{time_format(finish-retrieve)} minutes (select: #{time_format(detect-retrieve)}, detect: #{time_format(insert-detect)}, insert: #{time_format(finish-insert)})"
end
end
end

0 comments on commit bed66fa

Please sign in to comment.