Logger.Write vs LogEntry (when should use one i/o the other)

Topics: Exception Handling Application Block, General discussion
Sep 24, 2008 at 10:32 AM
Hi guys
I cannot  make a distinction between using LogEnty and Logger.Write.

When should I use one instead of the other?

Any ideas?

thanks a lot
Sep 25, 2008 at 1:57 PM

LogEntry is just a data object. You need to use Logger.Write, for which there are several overloads including one that gets LogEntry.

Sep 25, 2008 at 2:06 PM
thanks a lot/
I will use Logger.Write .
As you said and understood it does pretty much everything.