EventEntry Members

Include Protected Members
Include Inherited Members

Applies to: Semantic Logging 2.0

The EventEntry type exposes the following members.

Constructors

  Name Description
Public method EventEntry(Guid, Int32, String, ReadOnlyCollection<Object>, DateTimeOffset, EventSchema)
Initializes a new instance of the EventEntry class.
Public method EventEntry(Guid, Int32, String, ReadOnlyCollection<Object>, DateTimeOffset, Guid, Guid, EventSchema)
Initializes a new instance of the EventEntry class.
Public method EventEntry(Guid, Int32, String, ReadOnlyCollection<Object>, DateTimeOffset, Int32, Int32, Guid, Guid, EventSchema)
Initializes a new instance of the EventEntry class.

Methods

  Name Description
Public methodStatic member Create
Creates a new EventEntry instance based on the args and the schema.
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 GetFormattedTimestamp
Gets the formatted timestamp.
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.)

Extension Methods

  Name Description
Public Extension Method TryConvertToCloudEventEntry
Converts an EventEntry to a CloudEventEntry.
(Defined by CloudEventEntryExtensions.)
Public Extension Method TryFormatAsString
Formats an EventEntry as a string using an IEventTextFormatter.
(Defined by EventEntryExtensions.)
Public Extension Method TryFormatAsStringAndColor
Formats an EventEntry as a string using an IEventTextFormatter, and assigns a ConsoleColor depending on the event level.
(Defined by EventEntryExtensions.)

Properties

  Name Description
Public property ActivityId
Gets the activity id.
Public property EventId
Gets the event id.
Public property FormattedMessage
Gets the formatted message.
Public property Payload
Gets the event payload.
Public property ProcessId
Gets the process id.
Public property ProviderId
Gets the id of the source originating the event.
Public property RelatedActivityId
Gets the related activity id.
Public property Schema
Gets the event schema.
Public property ThreadId
Gets the thread id.
Public property Timestamp
Gets the timestamp of the event.

See Also

EventEntry Class

Microsoft.Practices.EnterpriseLibrary.SemanticLogging Namespace