This project is read-only.
1
Vote

Trace logs - to be able to enable or disable it with a setting

description

Hello,

It would be great to add a setting (code based or in app.config) allowing us to specify if we wan't or not to activate "trace". For instance a parameter named "IsTraceOn" or "IsDebugOn".

The aim is to have in the XecMe code :
  if( isTraceOn ) Trace.[...]
... instead of the actual
  Trace.[...]
Why ? Because when having multiple TimerTask executing very frequently then this will cause sometimes a lot of unused log traces. Let the dev choose with an option to enable or disable it could be a good idea.

comments