def write( event )
      title = ''
      priority = 0
      message = if event.instance_of?(::Logsly::Logging182::LogEvent)
          priority = @map[event.level]
          @layout.format(event)
        else
          event.to_s
        end
      return if message.empty?

      message = message.gsub(ColoredRegexp, '')
      if @title_sep
        title, message = message.split(@title_sep)
        title, message = '', title if message.nil?
      end

      growl(title.strip, message.strip, priority)
      self
    end
def write( event )
      title = ''
      priority = 0
      message = if event.instance_of?(::Logsly::Logging182::LogEvent)
          priority = @map[event.level]
          @layout.format(event)
        else
          event.to_s
        end
      return if message.empty?

      message = message.gsub(ColoredRegexp, '')
      if @title_sep
        title, message = message.split(@title_sep)
        title, message = '', title if message.nil?
      end

      growl(title.strip, message.strip, priority)
      self
    end
call-seq:
    write( event )

 Write the given _event_ to the growl notification facility. The log
 event will be processed through the Layout associated with this
 appender. The message will be logged at the level specified by the
 event.