Log message and flush to an email

Topics: Logging Application Block
Aug 22, 2007 at 10:41 AM
Hi,

I am using the logging application block and I want to email several log messages at the same time instead of doing them 1 at the time. Obviously I could send a email each time I log, but that would be heavy on the end user receiving it.

I'm looking for a way to do this:

Logger.Write(..., Category);
//
Logger.Write(..., Category);
//Eventually
Logger.Flush(Category);

Any idea how this can be done with the LAP?

Thanks

-joel