LoggerWriteIf Method (LogLevel, String)

Writes the specified message if the log level is enabled.

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

Parameters

condition
Type: Aspose.Email.Tools.LoggingLogLevel
The log level.
message
Type: SystemString
The message to log.
See Also