views:

145

answers:

1

Is there a .NET logging class that does not rely on XML configuration files? I thought is was possible with log4net but can't find any info.

+1  A: 

It is possible to configure log4net in code. See this example: link.

empi
I did not know about NDC so +1 for the link.
Andrew Burns