LoggingEventData Structure | Apache log4net™ SDK Documentation

Portable data structure used by LoggingEvent

Namespace: log4net.Core
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public struct LoggingEventData

    Public Structure LoggingEventData

    public value class LoggingEventData

    [<SealedAttribute>]
    type LoggingEventData =  struct end

The LoggingEventData type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| TimeStampUtc | Gets or sets the UTC time the event was logged

Top
Methods

| Name | Description
--- | --- | ---
| Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
| GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top
Fields

| Name | Description
--- | --- | ---
| Domain | String representation of the AppDomain.
| ExceptionString | The string representation of the exception
| Identity | String representation of the identity.
| Level | Level of logging event.
| LocationInfo | Location information for the caller.
| LoggerName | The logger name.
| Message | The application supplied message.
| Properties | Additional event specific properties
| ThreadName | The name of thread
| TimeStamp | Obsolete. Gets or sets the local time the event was logged
| UserName | String representation of the user

Top
Remarks

Portable data structure used by LoggingEvent

See Also

#### Reference

log4net.Core Namespace