Tracing

Posts   
 
    
jtgooding
User
Posts: 126
Joined: 26-Apr-2004
# Posted on: 25-May-2005 20:24:47   

Frans,

Is there a way of turning on tracing without using a config file? i.e. if you wrapper stuff up in a COM object the whole App.config doesn't work to well.

Thanks John

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 26-May-2005 10:38:57   

The tracing facility of .NET checks the config file for trace listener definitions, so if you for example want to trace to a file, you've to setup the trace listener in the config file. I'm not aware of a way to define a trace listener in software (not writing one, but activating one simple_smile ) instead of a config file.

Frans Bouma | Lead developer LLBLGen Pro