# File lib/daemons/syslogio.rb, line 219
  def log(text, level = nil)
    if priority.nil? then
      write(text.chomp + "\n")
    else
      priority_bkup = @priority
      #TODO fix this to be less ugly. Temporarily setting an instance variable is evil
      @priority = priority
      write(text.chomp + "\n")
      @priority = priority_bkup
    end
  end