Click or drag to resize

LogEvent Constructor

Constructor.

Namespace:  Neon.Diagnostics
Assembly:  Neon.Common (in Neon.Common.dll) Version: 2.14.0
Syntax
public LogEvent(
	string module,
	string contextId,
	long index,
	DateTime timeUtc,
	LogLevel logLevel,
	string message,
	string activityId,
	Exception e
)

Parameters

module
Type: SystemString
Optionally identifies the source module.
contextId
Type: SystemString
Optionaly specifies additional event context information.
index
Type: SystemInt64
Specifies the one-based position of the event in the stream of events logged by the log manager.
timeUtc
Type: SystemDateTime
Time (UTC) when the event was logged.
logLevel
Type: Neon.DiagnosticsLogLevel
The event log level.
message
Type: SystemString
Optionally specifies the event message.
activityId
Type: SystemString
Optionally specifies the event activity ID.
e
Type: SystemException
Optionally specifies the exception being logged.
See Also