Clog[] clog = new Clog[1];
clog[0] = new Clog(text,context,tag,caller,priority.ordinal(),status.ordinal());
TDataType clgt = new TDataType(clog);
TLink tl = new TLink("/SITE/CLOG/Logger","NewEntry",null,clgt,TAccess.CA_WRITE|TAccess.CA_RETRY);
int id = tl.attach(TMode.CM_SINGLE, instance, 1000);
return id < 0 ? -id : 0;
}
public static int log(String text)
{
ClogPriority priority = ClsLog.ClogPriority.CLOG_PRIORITY_USEFUL;