21 lines
481 B
C#
21 lines
481 B
C#
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using xLoggingService.Models;
|
|
|
|
namespace xLoggingService.Interfaces
|
|
{
|
|
public interface IXLogWriter
|
|
{
|
|
/// <summary>
|
|
/// Write Log ...
|
|
/// </summary>
|
|
/// <param name="entry"></param>
|
|
/// <param name="cancellationToken"></param>
|
|
/// <returns></returns>
|
|
Task WriteAsync(
|
|
XLogEntry entry,
|
|
CancellationToken cancellationToken
|
|
);
|
|
}
|
|
}
|