Jaa


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

Methods

  Name Description
Public methodStatic member FlushContextItems
Empty the context items dictionary.
Public methodStatic member GetFilter
Returns the filter named name.
Public methodStatic member GetFilter<T> Overloaded.
Public methodStatic member IsLoggingEnabled
Query whether logging is enabled.
Public methodStatic member SetContextItem
Add a key/value pair to the CallContext dictionary. Context items will be recorded with every log entry.
Public methodStatic member ShouldLog
Query whether a LogEntry shold be logged.
Public methodStatic member Write Overloaded.
Write a new log entry to the default category.

Properties

  Name Description
Public propertyStatic member Writer
Gets the instance of LogWriter used by the facade.

See Also

Logger 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.