lib/semantic_logger/appender.rb in semantic_logger-4.3.1 vs lib/semantic_logger/appender.rb in semantic_logger-4.4.0
- old
+ new
@@ -12,10 +12,11 @@
autoload :Kafka, 'semantic_logger/appender/kafka'
autoload :Sentry, 'semantic_logger/appender/sentry'
autoload :Http, 'semantic_logger/appender/http'
autoload :MongoDB, 'semantic_logger/appender/mongodb'
autoload :NewRelic, 'semantic_logger/appender/new_relic'
+ autoload :Rabbitmq, 'semantic_logger/appender/rabbitmq'
autoload :Splunk, 'semantic_logger/appender/splunk'
autoload :SplunkHttp, 'semantic_logger/appender/splunk_http'
autoload :Syslog, 'semantic_logger/appender/syslog'
autoload :Tcp, 'semantic_logger/appender/tcp'
autoload :Udp, 'semantic_logger/appender/udp'
@@ -54,9 +55,11 @@
proxy_options[:appender] = appender
Appender::AsyncBatch.new(proxy_options)
elsif async == true
proxy_options[:appender] = appender
Appender::Async.new(proxy_options)
+
+
else
appender
end
end