lib/semantic_logger/appender/kafka.rb in semantic_logger-4.6.0.beta1 vs lib/semantic_logger/appender/kafka.rb in semantic_logger-4.6.0

- old
+ new

@@ -1,8 +1,8 @@ begin require 'kafka' rescue LoadError - raise 'Gem ruby-kafka is required for logging to Elasticsearch. Please add the gem "ruby-kafka" to your Gemfile.' + raise LoadError.new('Gem ruby-kafka is required for logging to Elasticsearch. Please add the gem "ruby-kafka" to your Gemfile.') end require 'date' # Forward all log messages to Apache Kafka.