LogEntry Constructor (String, Exception, LogLevel, String, Int32, String, IDictionaryString, String)

Create a new instance of LogEntry with a full set of constructor parameters

Namespace:  Aspose.Email.Tools.Logging
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public LogEntry(
	string message,
	Exception innerException,
	LogLevel severity,
	string category,
	int eventId,
	string title,
	IDictionary<string, string> properties
)

Parameters

message
Type: SystemString
Message body to log. Value from ToString() method from message object.
innerException
Type: SystemException
The inner exception to log.
severity
Type: Aspose.Email.Tools.LoggingLogLevel
Log entry severity as a Severity enumeration. (Unspecified, Information, Warning or Error).
category
Type: SystemString
Category name used to route the log entry to a one or more sinks.
eventId
Type: SystemInt32
Event number or identifier.
title
Type: SystemString
Additional description of the log entry message.
properties
Type: System.Collections.GenericIDictionaryString, String
Dictionary of key/value pairs to record.
See Also