Logging

  • Thread starter Thread starter muscha
  • Start date Start date
M

muscha

Hi,

Does Microsoft provide .Net with a logging framework? Or we have to build
one ourself?

thanks,

/m
 
A comprehensive logging framework called the Enterprise Instrumentation
Framework (EIF) is available for MSDN Universal subscribers, and also comes
(I think) with Enterprise Editions of Visual Studio.

Thanks,

Had a look, but I stumble upon log4net, the port of Log4J to .Net. Beauty, I
feel at home straight away :) Had a quick glance with EIF decided it's not
powerful enough to do what I wanted to do (and flexible enough).


/m
 
Hi,

we are using both logging frameworks in our projects:
log4j (business components in EJBs) and log4net + wrapper
classes (c# client). We implemented wrapper classes to
simplify the method enter/exit tracing by implementing
the IDisposable interface and using the "using" statement.

The log4j architecture has been improved over the years
and is powerful and flexible (thread safe, distributed
logging , ...); it's customizable and the configuration
of the logging is very flexible. Log4j is widely used and
a "standard" in the java wolrd.

I would use log4net for .NET projects, which is somewhat
easier to use (custom attributes) than log4j.

Regards, Walter
 
Back
Top