def to_s
      log_time=event_time.strftime(CEF::LOG_TIME_FORMAT)
      
      sprintf(
        CEF::LOG_FORMAT,
        syslog_pri.to_s,
        log_time,
        my_hostname,
        format_prefix,
        format_extension
      )
    end
def to_s
      log_time=event_time.strftime(CEF::LOG_TIME_FORMAT)
      
      sprintf(
        CEF::LOG_FORMAT,
        syslog_pri.to_s,
        log_time,
        my_hostname,
        format_prefix,
        format_extension
      )
    end
so we can CEF::Event.new(:foo=>"bar")
 returns a cef formatted string