String infoStr = sfCompleteName().toString()+" sending "+ event+" to "+s.toString(); if (sfLog().isDebugEnabled()) { sfLog().debug(infoStr);   }
if (sfLog().isDebugEnabled()) { String infoStr = "'"+sfCompleteNameSafe().toString()+"' sending '"+ event+"' to '"+s+"'"; sfLog().debug(infoStr); }
    synchronized public void sendEvent(Object event) {        for (Enumeration e = sendTo.elements(); e.hasMoreElements();) {            EventSink s = (EventSink) e.nextElement();            try {                String infoStr = sfCompleteName().toString()+" sending "+ event+" to "+s.toString();                if (sfLog().isDebugEnabled()) { sfLog().debug(infoStr);   }                s.event(event);            } catch (Exception ex1) {                String evStr="null event";                if (event!=null ) {                    evStr=event.toString()+"["+event.getClass().toString()+"]";                }                if (sfLog().isErrorEnabled()) {                   sfLog().error("Failed to send event: "+evStr+", cause: "+ex1.getMessage(),ex1);               }            }        }    }