Permalink
Browse files

Merge pull request #1 from mattmatt/master

Fix little namespacing problem with Ruby 1.9 for the Logger class
  • Loading branch information...
2 parents 3a580ed + 22c6c92 commit 6e8cd6186b5133a696672e3dd65ea5f78ec8e9a6 @eric eric committed Feb 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/metriks/reporter/logger.rb
View
2 lib/metriks/reporter/logger.rb
@@ -4,7 +4,7 @@ module Metriks::Reporter
class Logger
def initialize(options = {})
@registry = options[:registry] || Metriks::Registry.default
- @logger = options[:logger] || Logger.new(STDOUT)
+ @logger = options[:logger] || ::Logger.new(STDOUT)
@log_level = options[:log_level] || ::Logger::INFO
@prefix = options[:prefix] || 'metriks:'
@interval = options[:interval] || 60

0 comments on commit 6e8cd61

Please sign in to comment.