Partager via


LogWriter Members

Include Protected Members
Include Inherited Members

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 LogWriter type exposes the following members.

Constructors

  Name Description
Public method LogWriter Overloaded.

Methods

  Name Description
Public method Dispose
Releases the resources used by the LogWriter.
Public method Equals (Inherited from Object.)
Public method FilterCheckingFailed
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Performs any action to handle an error during checking.
Protected method Finalize (Inherited from Object.)
Public method FlushContextItems
Empties the context items dictionary.
Public method GetFilter
Returns the filter named name.
Public method GetFilter<T> Overloaded.
Public method GetHashCode (Inherited from Object.)
Public method GetInstrumentationEventProvider
This method supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Returns the object that provides instrumentation services for the LogWriter.
Public method GetType (Inherited from Object.)
Public method IsLoggingEnabled
Queries whether logging is enabled.
Public method IsTracingEnabled
Queries whether tracing is enabled.
Protected method MemberwiseClone (Inherited from Object.)
Public method SetContextItem
Adds a key/value pair to the CallContext dictionary. Context items will be recorded with every log entry.
Public method ShouldLog
Queries whether a LogEntry shold be logged.
Public method ToString (Inherited from Object.)
Public method Write
Writes a new log entry as defined in the LogEntry parameter.

Fields

  Name Description
Public fieldStatic member LogWriterFailureEventID
EventID used on LogEntries that occur when internal LogWriter mechanisms fail.

See Also

LogWriter Class

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.