LogEntry Constructor (String, LogLevel)

Initialize a new instance of a LogEntry class.

Namespace:  Aspose.Email.Tools.Logging
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public LogEntry(
	string message,
	LogLevel severity
)

Parameters

message
Type: SystemString
Message body to log. Value from ToString() method from message object.
severity
Type: Aspose.Email.Tools.LoggingLogLevel
Log entry severity as a Severity enumeration. (Unspecified, Information, Warning or Error).
See Also