protected void sendLogEvent(String component,String message,Callback<Object> callback){
  String syslogMessage=String.format(Locale.US,"<22>%s %s %s:%s",getSysLogFormattedDate(),utils.getApplicationName(context),component,message);
  sendDataOverUDP(syslogMessage,callback);
}

protected void sendLogEvent ( String component , String message , Callback < Object > callback ) { String syslogMessage = String . format ( Locale . US , "<22>%s %s %s:%s" , getSysLogFormattedDate ( ) , utils . getApplicationName ( context ) , component , message ) ; sendDataOverUDP ( syslogMessage , callback ) ; }
create properly formatted message to send over udp that acts like a syslog message syslog format : " & lt ; priority & gt ; timestamp orange_link blue_link : message " details : http : / / en . wikipedia . org / wiki / syslog # priority
