try this
public String toString() {
return super.toString() + "Type: " + type;
}
________________________________
From: thomas.kukofka(a)googlemail.com
[mailto:thomas.kukofka@googlemail.com] On Behalf Of thomas kukofka
Sent: Monday, September 08, 2008 2:04 PM
To: Rules Users List
Cc: Shyam, Pallav (MSCIBARRA)
Subject: logging with WorkingMemoryEventListener
Hello,
I tried to overwrite toString():
public String toString() {
System.out.println("Type: " + type);
return super.toString();
}
But the output ist the following:
Type: TypeXY
[ObjectInserted: handle=[fid:1:7:com.dssrules.InputObject@996cef];
object=com.dssrules.InputObject@996cef]
Is there any possiblity to configure the WorkingMemoryEventListener so
that it looks like:
[ObjectInserted: type=TypeXY:
handle=[fid:1:7:com.dssrules.InputObject@996cef];
object=com.dssrules.InputObject@996cef]
--------------------------------------------------------
NOTICE: If received in error, please destroy and notify sender. Sender does not intend to
waive confidentiality or privilege. Use of this email is prohibited when received in
error.