Partager via


Logger.Write Method

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.

Write a new log entry to the default category.

Overload List

  Name Description
Public methodStatic member Write(Object)
Write a new log entry to the default category.
Public methodStatic member Write(LogEntry)
Write a new log entry as defined in the LogEntry parameter.
Public methodStatic member Write(Object, ICollection<String>)
Write a new log entry to a specific collection of categories.
Public methodStatic member Write(Object, IDictionary<String, Object>)
Write a new log entry and a dictionary of extended properties.
Public methodStatic member Write(Object, String)
Write a new log entry to a specific category.
Public methodStatic member Write(Object, ICollection<String>, IDictionary<String, Object>)
Write a new log entry to a specific collection of categories with a dictionary of extended properties.
Public methodStatic member Write(Object, ICollection<String>, Int32)
Write a new log entry with a specific collection of categories and priority.
Public methodStatic member Write(Object, String, IDictionary<String, Object>)
Write a new log entry to a specific category with a dictionary of extended properties.
Public methodStatic member Write(Object, String, Int32)
Write a new log entry with a specific category and priority.
Public methodStatic member Write(Object, ICollection<String>, Int32, IDictionary<String, Object>)
Write a new log entry to with a specific collection of categories, priority and a dictionary of extended properties.
Public methodStatic member Write(Object, ICollection<String>, Int32, Int32)
Write a new log entry with a specific collection of categories, priority and event id.
Public methodStatic member Write(Object, String, Int32, IDictionary<String, Object>)
Write a new log entry to with a specific category, priority and a dictionary of extended properties.
Public methodStatic member Write(Object, String, Int32, Int32)
Write a new log entry with a specific category, priority and event id.
Public methodStatic member Write(Object, ICollection<String>, Int32, Int32, TraceEventType)
Write a new log entry with a specific collection of categories, priority, event id and severity.
Public methodStatic member Write(Object, String, Int32, Int32, TraceEventType)
Write a new log entry with a specific category, priority, event id and severity.
Public methodStatic member Write(Object, ICollection<String>, Int32, Int32, TraceEventType, String)
Write a new log entry with a specific collection of categories, priority, event id, severity and title.
Public methodStatic member Write(Object, String, Int32, Int32, TraceEventType, String)
Write a new log entry with a specific category, priority, event id, severity and title.
Public methodStatic member Write(Object, ICollection<String>, Int32, Int32, TraceEventType, String, IDictionary<String, Object>)
Write a new log entry with a specific category, priority, event Id, severity title and dictionary of extended properties.
Public methodStatic member Write(Object, String, Int32, Int32, TraceEventType, String, IDictionary<String, Object>)
Write a new log entry with a specific category, priority, event Id, severity title and dictionary of extended properties.

See Also

Logger Class

Logger Members

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.