NTP_V2/src/NTP.Application/Abstractions/ISystemErrorLogger.cs

8 lines
336 B
C#

namespace NTP.Application.Abstractions;
/// <summary>Saves runtime (unexpected) errors into the NTP-schema table SYSTEM_ERRORS (legacy logs.cfc logSysError). Never throws.</summary>
public interface ISystemErrorLogger
{
Task LogAsync(Exception exception, string? userId, string? ipAddress, string? browser, string? requestInfo);
}