lib/semantic_logger/appender/udp.rb in semantic_logger-4.1.1 vs lib/semantic_logger/appender/udp.rb in semantic_logger-4.2.0
- old
+ new
@@ -74,11 +74,9 @@
@socket.connect(host, port.to_i)
end
# Write the log using the specified protocol and server.
def log(log)
- return false unless should_log?(log)
-
@socket.send(formatter.call(log, self), udp_flags)
true
end
# Flush is called by the semantic_logger during shutdown.