Share via


Logging Method Invocation and Property Access

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

Enterprise applications usually provide rich and detailed information about their operation in order to help administrators and operators measure activity, audit actions that take place, and detect unusual behavior, errors, and failures. The Policy Injection Application Block provides a handler that takes advantage of the features exposed by the Enterprise Library Logging Application Block. These features allow developers and administrators to configure logging to the Windows Event Log, e-mail messages, databases, message queue systems, text files, WMI events, or custom locations.

For more details about logging method invocations and property accesses using the Policy Injection Application Block, see The Logging Handler in the section Configuring and Using Pipeline Handlers.

The Logging Application Block provides a comprehensive set of features for writing logging information to a variety of locations. For details about using the Logging Application Block, see Introduction to the Logging Application Block.