The LoggingEvent type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| LoggingEvent(LoggingEventData) |
Initializes a new instance of the LoggingEvent class
using specific data.
| |
| LoggingEvent(SerializationInfo, StreamingContext) |
Serialization constructor
| |
| LoggingEvent(Type, ILoggerRepository, LoggingEventData) |
Initializes a new instance of the LoggingEvent class
using specific data.
| |
| LoggingEvent(Type, ILoggerRepository, LoggingEventData, FixFlags) |
Initializes a new instance of the LoggingEvent class
using specific data.
| |
| LoggingEvent(Type, ILoggerRepository, String, Level, Object, Exception) |
Initializes a new instance of the LoggingEvent class
from the supplied parameters.
|
Methods
| Name | Description | |
|---|---|---|
| (Inherited from | ||
Allows an (Inherited from | ||
| FixVolatileData | Obsolete.
Fix instance fields that hold volatile data.
| |
| FixVolatileData(Boolean) | Obsolete.
Fixes instance fields that hold volatile data.
| |
| FixVolatileData(FixFlags) |
Fix the fields specified by the FixFlags parameter
| |
| GetExceptionString |
Returns this event's exception's rendered using the
RendererMap.
| |
| GetExceptionStrRep | Obsolete.
Returns this event's exception's rendered using the
RendererMap.
| |
Serves as a hash function for a particular type.
(Inherited from | ||
| GetLoggingEventData |
Gets the portable data for this LoggingEvent.
| |
| GetLoggingEventData(FixFlags) |
Gets the portable data for this LoggingEvent.
| |
| GetObjectData |
Serializes this object into the | |
| GetProperties |
Get all the composite properties in this event
| |
Gets the (Inherited from | ||
| LookupProperty |
Lookup a composite property in this event
| |
Creates a shallow copy of the current (Inherited from | ||
| (Inherited from | ||
| WriteRenderedMessage |
Write the rendered message to a TextWriter
|
Fields
| Name | Description | |
|---|---|---|
| HostNameProperty |
The key into the Properties map for the host name value.
| |
| IdentityProperty |
The key into the Properties map for the thread identity value.
| |
| UserNameProperty |
The key into the Properties map for the user name value.
|
Properties
| Name | Description | |
|---|---|---|
| Domain |
Gets the AppDomain friendly name.
| |
| ExceptionObject |
Gets the exception object used to initialize this event.
| |
| Fix |
The fixed fields in this event
| |
| Identity |
Gets the identity of the current thread principal.
| |
| Level |
Gets the Level of the logging event.
| |
| LocationInformation |
Gets the location information for this logging event.
| |
| LoggerName |
Gets the name of the logger that logged the event.
| |
| MessageObject |
Gets the message object used to initialize this event.
| |
| Properties |
Additional event specific properties.
| |
| RenderedMessage |
Gets the message, rendered through the RendererMap.
| |
| Repository |
The ILoggerRepository that this event was created in.
| |
| StartTime |
Gets the time when the current process started.
| |
| ThreadName |
Gets the name of the current thread.
| |
| TimeStamp |
Gets the time of the logging event.
| |
| UserName |
Gets the name of the current user.
|
See Also