lib/semantic_logger/appender/udp.rb in semantic_logger-3.4.1 vs lib/semantic_logger/appender/udp.rb in semantic_logger-4.0.0.beta1

- old
+ new

@@ -56,9 +56,10 @@ # SemanticLogger.add_appender( # appender: :udp, # server: 'server:3300' # ) def initialize(options = {}, &block) + @socket = nil options = options.dup @server = options.delete(:server) @udp_flags = options.delete(:udp_flags) || 0 raise(ArgumentError, 'Missing mandatory argument: :server') unless @server