Console.WriteLine in a released DLL

B

Brian Stoop

Hi,

I have an application (DLL) .NET 2. To debug, the DLL is loaded by a console
application, and many occurences of Console.WriteLine statetments in the
code print debugging info.


When the release DDL it is installed as a service, the console does not
appear, but could the WriteLine statements impact performace ?

Thanks. B
 
A

Arne Vajhøj

Brian said:
I have an application (DLL) .NET 2. To debug, the DLL is loaded by a console
application, and many occurences of Console.WriteLine statetments in the
code print debugging info.

When the release DDL it is installed as a service, the console does not
appear, but could the WriteLine statements impact performace ?

Configurable logging frameworks were invented to solve
that problem.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top