We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logger does not appear to be working, I have tried three different flavors of Ruby all with the same results:
irb(main):002:0> require 'metriks' => true irb(main):003:0> reporter = Metriks::Reporter::Logger.new(:logger => Logger.new('log/metrics.log')) NameError: uninitialized constant Metriks::Reporter::Logger from (irb):3 from /Users/jdyer/.rbenv/versions/2.0.0-p353/bin/irb:12:in `<main>' irb(main):004:0>
irb(main):001:0> require 'metriks' => true irb(main):002:0> reporter = Metriks::Reporter::Logger.new(:logger => Logger.new('log/metrics.log')) NameError: uninitialized constant Metriks::Reporter::Logger from (irb):2 from /Users/jdyer/.rbenv/versions/2.1.1/bin/irb:11:in `<main>' irb(main):003:0>
irb(main):001:0> require 'metriks' => true irb(main):002:0> reporter = Metriks::Reporter::Logger.new(:logger => Logger.new('log/metrics.log')) NameError: uninitialized constant Metriks::Reporter::Logger from (irb):2 from /Users/jdyer/.rbenv/versions/1.9.3-p545/bin/irb:12:in `<main>' irb(main):003:0>
The text was updated successfully, but these errors were encountered:
The reporters are not automatically loaded, so you'll have to require them:
require "metriks/reporter/logger"
Sorry, something went wrong.
Ah, must have missed that. I didnt see it in the readme
It isn't in the readme, I just hit the same issue require "metriks/reporter/logger" fixed it for me as well
No branches or pull requests
Logger does not appear to be working, I have tried three different flavors of Ruby all with the same results:
Ruby 2.0.0
Ruby 2.1.1
Ruby 1.9
The text was updated successfully, but these errors were encountered: