Logger.Write
Contents
[
Hide
]Write(string)
Writes the specified message to appenders.
public void Write(string message)
| Parameter | Type | Description |
|---|---|---|
| message | String | The message to write. |
See Also
- class Logger
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
Write(string, Exception)
Writes the specified message and exception to appenders.
public void Write(string message, Exception exception)
| Parameter | Type | Description |
|---|---|---|
| message | String | The message to write. |
| exception | Exception | The exception to write. |
See Also
- class Logger
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
Write(string, Exception, LogLevel)
Writes the specified message and exception to appenders.
public void Write(string message, Exception ex, LogLevel level)
| Parameter | Type | Description |
|---|---|---|
| message | String | The message to write. |
| ex | Exception | The exception to write. |
| level | LogLevel | The log level. |
See Also
- class LogLevel
- class Logger
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email
Write(object)
Writes the specified message to appenders.
public void Write(object message)
| Parameter | Type | Description |
|---|---|---|
| message | Object | The message to write. |
See Also
- class Logger
- namespace Aspose.Email.Tools.Logging
- assembly Aspose.Email