Compartilhar via


Microsoft.Practices.EnterpriseLibrary.Logging 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.

Classes

  Class Description
Public class ContextItems
Provides methods to maintain a key/value dictionary that is stored in the CallContext.
Public class ExceptionFormatter

Provides exception formatting when not using the Exception Handling block.

Public class InstrumentationTypeAttribute
Indicates that this type can be raised to an EventSource.
Public class InternalAttribute
Indicates that the field or property should not exposed when the raised to an EventSource.
Public class LogEntry
Represents a log message. Contains the common properties that are required for all log messages.
Public class Logger
Facade for writing a log entry to one or more TraceListeners. This class is sealed.
Public class LoggingException
Logging block exception.
Public class LogSource
Provides tracing services through a set of TraceListeners.
Public class LogSourceCustomFactory
This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Represents the process to build a LogSource described by a TraceSourceData configuration object.
Public class LogWriter
Instance based class to write log messages based on a given configuration. Messages are routed based on category.
Public class LogWriterCustomFactory
This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Represents the process to build a LogWriter described by the LoggingSettings configuration section.
Public class LogWriterFactory
Factory to create LogWriter instances.
Public class LogWriterStructureHolder
This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Holds the collaborators of a LogWriter to allow for an easy replacement should configuration change.
Public class LogWriterStructureHolderCustomFactory
This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Represents the process to build a LogWriterStructureHolder described by the LoggingSettings configuration section.
Public class ProjectInstaller
Let the system know that the InstallUtil.exe tool will be run against this assembly
Public class TraceListenerFilter
Used by LogSources to keep the knowledge of which Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners have been already traced through.
Public class Tracer
Represents a performance tracing class to log method entry/exit and duration.
Public class XmlLogEntry
Entension of LogEntry for adding XMl Support.

Interfaces

  Interface Description
Public interface ILogWriterStructureUpdater
Represents an object that can update a LogWriter's internal configuration.

Enumerations

  Enumeration Description
Public enumeration CategoryFilterMode
Represents the possible modes for client-side category filtering.
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.