Console.WriteLine in a released DLL

  • Thread starter Thread starter Brian Stoop
  • Start date Start date
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
 
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
 
Back
Top