# File lib/daemons/syslogio.rb, line 132
  def syswrite(text)
    begin
      @out.syswrite(text) if @out and !@out.closed?
    rescue SystemCallError => e
    end

    text.split(/\n/).each do |line|
      @subs.each do |sub|
        line.sub!(sub[0], sub[1])
      end
      if line == '' or line.match(/^\s*$/) then
        next
      end
      Syslog.log(@facility | @level, line)
    end
    nil
  end