Compartir a través de


EventTextFormatter Members

Include Protected Members
Include Inherited Members

Applies to: Semantic Logging 2.0

The EventTextFormatter type exposes the following members.

Constructors

  Name Description
Public method EventTextFormatter
Initializes a new instance of the EventTextFormatter class.

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method WriteEvent
Writes the event.

Extension Methods

  Name Description
Public Extension Method WriteEvent
Formats the event as a string.
(Defined by EventTextFormatterExtensions.)

Fields

  Name Description
Public fieldStatic member DashSeparator
The dash separator.
Public fieldStatic member DefaultVerbosityThreshold
The default VerbosityThreshold.

Properties

  Name Description
Public property DateTimeFormat
Gets or sets the date time format used for timestamp value.
Public property Footer
Gets or sets the footer.
Public property Header
Gets or sets the header.
Public property VerbosityThreshold
Gets or sets the lowest EventLevel value where the formatted output provides all the event entry information. Otherwise a summarized content of the event entry will be written.

See Also

EventTextFormatter Class

Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Formatters Namespace