Partager via


LoggingInstrumentationProvider Class

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.

Defines the logical events that can be instrumented for the logging block.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Logging.Instrumentation
Assembly:  Microsoft.Practices.EnterpriseLibrary.Logging (in Microsoft.Practices.EnterpriseLibrary.Logging.dll)

Syntax

'Declaration
<InstrumentationListenerAttribute(GetType(LoggingInstrumentationListener))> _
PublicClassLoggingInstrumentationProvider
[InstrumentationListenerAttribute(typeof(LoggingInstrumentationListener))]
publicclassLoggingInstrumentationProvider
[InstrumentationListenerAttribute(typeof(LoggingInstrumentationListener))]
publicref classLoggingInstrumentationProvider
publicclass LoggingInstrumentationProvider

Remarks

The concrete instrumentation is provided by an object bound to the events of the provider. The default listener, automatically bound during construction, is LoggingInstrumentationListener.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Logging.Instrumentation.LoggingInstrumentationProvider

See Also

LoggingInstrumentationProvider Members

Microsoft.Practices.EnterpriseLibrary.Logging.Instrumentation Namespace

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.