Logging and then viewing the logs

Topics: Logging Application Block
Jun 1, 2010 at 9:59 AM

Hi All

I am using the logging application block and all works fine.

I log to either sql server or xml.

Its great that the the log.write ( "ops") hides away the details of how the file is logged to each source.

Now I would like to be able to read from either of these sources in a generic way to view in a grid.

something like log.read(Warnings) Dataset ( would read from xml or sql server )

Now I unserstand that this is greatly complicated when a number of liceners are involved.

Many thanks

 

 

 

 

 

Jun 2, 2010 at 12:19 AM

There's no facility for reading logs that is built-in on EntLib.  You would need to create your own component for this.

 

Sarah Urmeneta
Global Technology & Solutions
Avanade, Inc.
entlib.support@Avanade.com