lib/syslogstash.rb in syslogstash-2.1.0 vs lib/syslogstash.rb in syslogstash-2.2.0

- old
+ new

@@ -41,9 +41,13 @@ @logger.error("main") { (["Exception in crashed thread was: #{ex.message} (#{ex.class})"] + ex.backtrace).join("\n ") } end exit 1 end + + def force_disconnect! + @writer.force_disconnect! + end end require_relative 'syslogstash/config' require_relative 'syslogstash/syslog_reader' require_relative 'syslogstash/logstash_writer'