Parent

Methods

Log4r::RemoteOutputter

See log4r/logserver.rb

Public Class Methods

new(_name, hash={}) click to toggle source
# 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

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
def flush
  synch { send_buffer }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.