EventEntry Members
Include Protected Members
Include Inherited Members
Applies to: Semantic Logging 2.0
The EventEntry type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EventEntry(Guid, Int32, String, ReadOnlyCollection<Object>, DateTimeOffset, EventSchema) |
Initializes a new instance of the EventEntry class.
|
|
EventEntry(Guid, Int32, String, ReadOnlyCollection<Object>, DateTimeOffset, Guid, Guid, EventSchema) |
Initializes a new instance of the EventEntry class.
|
|
EventEntry(Guid, Int32, String, ReadOnlyCollection<Object>, DateTimeOffset, Int32, Int32, Guid, Guid, EventSchema) |
Initializes a new instance of the EventEntry class.
|
Methods
Name | Description | |
---|---|---|
Create |
Creates a new EventEntry instance based on the args and the schema.
|
|
Equals | (Inherited from Object.) | |
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetFormattedTimestamp |
Gets the formatted timestamp.
|
|
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
ToString |
Returns a string that represents the current object.
(Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
TryConvertToCloudEventEntry |
Converts an EventEntry to a CloudEventEntry.
(Defined by CloudEventEntryExtensions.) |
|
TryFormatAsString |
Formats an EventEntry as a string using an IEventTextFormatter.
(Defined by EventEntryExtensions.) |
|
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 | |
---|---|---|
ActivityId |
Gets the activity id.
|
|
EventId |
Gets the event id.
|
|
FormattedMessage |
Gets the formatted message.
|
|
Payload |
Gets the event payload.
|
|
ProcessId |
Gets the process id.
|
|
ProviderId |
Gets the id of the source originating the event.
|
|
RelatedActivityId |
Gets the related activity id.
|
|
Schema |
Gets the event schema.
|
|
ThreadId |
Gets the thread id.
|
|
Timestamp |
Gets the timestamp of the event.
|
See Also
Microsoft.Practices.EnterpriseLibrary.SemanticLogging Namespace