# File lib/log4r/outputter/remoteoutputter.rb, line 20
20: definitialize(*args)
21: raiseRuntimeError, "LogServer not supported. ROMP is required", caller
22: end
Public Instance Methods
flush()click to toggle source
Call flush to send any remaining LogEvents to the remote server.
# File lib/log4r/outputter/remoteoutputter.rb, line 27
27: defflush
28: synch { send_buffer }
29: end
Private Instance Methods
canonical_log(logevent)click to toggle source
# File lib/log4r/outputter/remoteoutputter.rb, line 33
33: defcanonical_log(logevent)
34: synch {
35: @buff.pushlogevent
36: send_bufferif@buff.size>=@buffsize
37: }
38: end