LoggerWrite Method (String, Exception, LogLevel)

Writes the specified message and exception to appenders.

Namespace:  Aspose.Email.Tools.Logging
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public void Write(
	string message,
	Exception ex,
	LogLevel level
)

Parameters

message
Type: SystemString
The message to write.
ex
Type: SystemException
The exception to write.
level
Type: Aspose.Email.Tools.LoggingLogLevel
The log level.
See Also