class Daemons::SyslogIO
def write(text)
def write(text) if @sync then syswrite(text) else text.split(/(\n)/).each do |line| @buffer = @buffer + line.to_s if line == "\n" then flush end end end end
def write(text) if @sync then syswrite(text) else text.split(/(\n)/).each do |line| @buffer = @buffer + line.to_s if line == "\n" then flush end end end end