|
EasySave v3.0
|
Public contract for a log writer. Implementations write a log entry asynchronously. More...
Public Member Functions | |
| Task | WriteAllTextAsync< T > (T logEntry, CancellationToken cancellationToken) |
| Writes a log entry asynchronously. | |
Public contract for a log writer. Implementations write a log entry asynchronously.
| Task EasyLog.ILogWriter.WriteAllTextAsync< T > | ( | T | logEntry, |
| CancellationToken | cancellationToken ) |
Writes a log entry asynchronously.
| T | Type of the log entry payload. |
| logEntry | The log entry to write. |
| cancellationToken | Cancellation token to cancel the operation if required. |
Implemented in EasyLog.DailyLogWriter, EasyLog.XmlDailyLogWriter, EasySave.Infrastructure.Persistence.ConfigurableLogWriter, and EasySave.Infrastructure.Persistence.DestinationLogWriter.