Application Error and Request Logging

The toolkit includes a set of logging functions that allow you to log errors and requests to various data stores: Database, XML file, text file or the event log.

The LogManager is the top level object for the logging interface and it provides simple access to log functions. The LogManager uses an ILogAdapter implemented provider that writes out to the underlying log store.

Using the Logging features is a three step process:

  • Configuration
    You need to configure the LogAdapter once when the application starts to tell it where and how to log data.

  • Logging
    Once configured the LogManager.Current property provides the current log instance that you can write to.

  • Retrieving Log Data
    You can retrieve individual Log Entries or you can use the individual adapters to retrieve detailed log information. Only the SqlLogAdapter provides many options for retrieval and a dedicated log display page.


© West Wind Technologies, 1996-2016 • Updated: 12/19/15
Comment or report problem with topic