Forum Discussion
CBleunven
13 years agoContributor
Hi Mat,
I explore the log possibilities too.
The solution I see to your question is that you may attribute to your "customized" log message a priority that differ from the usual priority level (see the priority property), ie that is not a 100 multiple.
Add an event handler for the onLogEvent (see post indicated in this discussion) and in the associated script, filter the event :
When you will need to trace also your own log, set the value to false. That's it.
Have a look in the TestLog Samples that may be usefull.
Best,
Christophe
I explore the log possibilities too.
The solution I see to your question is that you may attribute to your "customized" log message a priority that differ from the usual priority level (see the priority property), ie that is not a 100 multiple.
Add an event handler for the onLogEvent (see post indicated in this discussion) and in the associated script, filter the event :
if (LogParams["Priority"] mod 100 != 0) // the priority is customized
{
LogParams["Locked"] = true; //the message is not added
}
When you will need to trace also your own log, set the value to false. That's it.
Have a look in the TestLog Samples that may be usefull.
Best,
Christophe
Related Content
Recent Discussions
- 9 hours ago