LoggingEvent MembersApache log4net™ SDK Documentation
The LoggingEvent type exposes the following members.
Constructors

  NameDescription
Public methodLoggingEvent(LoggingEventData)
Initializes a new instance of the LoggingEvent class using specific data.
Protected methodLoggingEvent(SerializationInfo, StreamingContext)
Serialization constructor
Public methodLoggingEvent(Type, ILoggerRepository, LoggingEventData)
Initializes a new instance of the LoggingEvent class using specific data.
Public methodLoggingEvent(Type, ILoggerRepository, LoggingEventData, FixFlags)
Initializes a new instance of the LoggingEvent class using specific data.
Public methodLoggingEvent(Type, ILoggerRepository, String, Level, Object, Exception)
Initializes a new instance of the LoggingEvent class from the supplied parameters.
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodFixVolatileData Obsolete.
Fix instance fields that hold volatile data.
Public methodFixVolatileData(Boolean)Obsolete.
Fixes instance fields that hold volatile data.
Protected methodFixVolatileData(FixFlags)
Fix the fields specified by the FixFlags parameter
Public methodGetExceptionString
Returns this event's exception's rendered using the RendererMap.
Public methodGetExceptionStrRepObsolete.
Returns this event's exception's rendered using the RendererMap.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetLoggingEventData 
Gets the portable data for this LoggingEvent.
Public methodGetLoggingEventData(FixFlags)
Gets the portable data for this LoggingEvent.
Public methodGetObjectData
Serializes this object into the OnlineSerializationInfo provided.
Public methodGetProperties
Get all the composite properties in this event
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodLookupProperty
Lookup a composite property in this event
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns a OnlineString that represents the current OnlineObject.
(Inherited from OnlineObject.)
Public methodWriteRenderedMessage
Write the rendered message to a TextWriter
Back to Top
Fields

  NameDescription
Public fieldStatic memberHostNameProperty
The key into the Properties map for the host name value.
Public fieldStatic memberIdentityProperty
The key into the Properties map for the thread identity value.
Public fieldStatic memberUserNameProperty
The key into the Properties map for the user name value.
Back to Top
Properties

  NameDescription
Public propertyDomain
Gets the AppDomain friendly name.
Public propertyExceptionObject
Gets the exception object used to initialize this event.
Public propertyFix
The fixed fields in this event
Public propertyIdentity
Gets the identity of the current thread principal.
Public propertyLevel
Gets the Level of the logging event.
Public propertyLocationInformation
Gets the location information for this logging event.
Public propertyLoggerName
Gets the name of the logger that logged the event.
Public propertyMessageObject
Gets the message object used to initialize this event.
Public propertyProperties
Additional event specific properties.
Public propertyRenderedMessage
Gets the message, rendered through the RendererMap.
Public propertyRepository
The ILoggerRepository that this event was created in.
Public propertyStatic memberStartTime
Gets the time when the current process started.
Public propertyThreadName
Gets the name of the current thread.
Public propertyTimeStamp
Gets the time of the logging event.
Public propertyUserName
Gets the name of the current user.
Back to Top
See Also