Thursday, September 29, 2011

Set Prefix in Infolog message

Use below code to set the grouping prefix for the different kind of errors in a single infolog message. 
 
static void TestJob(Args _args)
{
    setPrefix("Main");
    info("Prefix\tInfo1");
    info("Prefix\tInfo2");
    info("Prefix2\tInfo3");
    info("Prefix\tInfo3");
}
 
Regards,
/Ashlesh 

No comments:

Post a Comment