See log4r/logserver.rb
# File lib/log4r/outputter/remoteoutputter.rb, line 9 def initialize(_name, hash={}) super(_name, hash) @uri = (hash[:uri] or hash['uri']) @buffsize = (hash[:buffsize] or hash['buffsize'] or 1).to_i @buff = [] connect end
Call flush to send any remaining LogEvents to the remote server.
# File lib/log4r/outputter/remoteoutputter.rb, line 27 def flush synch { send_buffer } end