Udostępnij za pośrednictwem


JsonEventTextFormatter Members

Include Protected Members
Include Inherited Members

Applies to: Semantic Logging 2.0

The JsonEventTextFormatter type exposes the following members.

Constructors

  Name Description
Public method JsonEventTextFormatter
Initializes a new instance of the JsonEventTextFormatter 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
Write the formatted event output.

Extension Methods

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

Fields

  Name Description
Public fieldStatic member DefaultEventTextFormatting
The default event text formatting.

Properties

  Name Description
Public property DateTimeFormat
Gets or sets the date time format used for timestamp value.
Public property Formatting
Public property IncludeEntrySeparator
Gets or sets a flag indicating whether the JsonEventTextFormatter will append a separator (",") at the end of each event

See Also

JsonEventTextFormatter Class

Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Formatters Namespace