Class: OneshotCoverage::Logger::StdoutLogger

Inherits:
Object
  • Object
show all
Defined in:
lib/oneshot_coverage/logger/stdout_logger.rb

Instance Method Summary collapse

Instance Method Details

#post(logs) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/oneshot_coverage/logger/stdout_logger.rb', line 4

def post(logs)
  logs.each do |log|
    $stdout.puts(
      "[OneshotCoverage] logged path: #{log.path}, md5_hash: #{log.md5_hash}, executed_lines: #{log.lines}"
    )
  end
end