• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ruby-concurrency / concurrent-ruby / #2948

11 Aug 2014 02:52PM UTC coverage: 45.41% (-45.2%) from 90.621%
#2948

push

jdantonio
Removed Rbx from Travis allowed failures list.

1375 of 3028 relevant lines covered (45.41%)

0.67 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.33
/lib/concurrent/logging.rb
1
require 'logger'
1✔
2

3
module Concurrent
1✔
4
  # Include where logging is needed
5
  module Logging
1✔
6
    include Logger::Severity
1✔
7

8
    # Logs through {Configuration#logger}, it can be overridden by setting @logger
9
    # @param [Integer] level one of Logger::Severity constants
10
    # @param [String] progname e.g. a path of an Actor
11
    # @param [String, nil] message when nil block is used to generate the message
12
    # @yieldreturn [String] a message
13
    def log(level, progname, message = nil, &block)
1✔
14
      (@logger || Concurrent.configuration.logger).call level, progname, message, &block
×
15
    end
16
  end
17
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc