lib/semantic_logger/appender/syslog.rb in semantic_logger-4.15.0 vs lib/semantic_logger/appender/syslog.rb in semantic_logger-4.16.0
- old
+ new
@@ -206,10 +206,10 @@
true
end
# Flush is called by the semantic_logger during shutdown.
def flush
- @remote_syslog.flush if @remote_syslog&.respond_to?(:flush)
+ @remote_syslog.flush if @remote_syslog.respond_to?(:flush)
end
# Returns [SemanticLogger::Formatters::Base] default formatter for this Appender depending on the protocal selected
def default_formatter
if protocol == :syslog