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

Topics: Exception Handling Application Block, General discussion
Sep 24, 2008 at 11: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 2:57 PM
Hi,

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

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

thanks