lib/logstash/outputs/base.rb in logstash-lite-0.2.20101201111523 vs lib/logstash/outputs/base.rb in logstash-lite-0.2.20101207114354
- old
+ new
@@ -3,9 +3,10 @@
require "logstash/logging"
require "cgi"
require "uri"
class LogStash::Outputs::Base
+ attr_accessor :logger
def initialize(url, config={}, &block)
@url = url
@url = URI.parse(url) if url.is_a? String
@config = config
@logger = LogStash::Logger.new(STDOUT)