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
Syntaxpublic void Write(
string message,
Exception ex,
LogLevel level
)
Public Sub Write (
message As String,
ex As Exception,
level As LogLevel
)
public:
void Write(
String^ message,
Exception^ ex,
LogLevel^ level
)
member Write :
message : string *
ex : Exception *
level : LogLevel -> unit
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