using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AIK.Service.IService { public interface ILogService { void LogDebug(string message, params object[] args); void LogInformation(string message, params object[] args); void LogWarning(string message, params object[] args); void LogError(Exception? exception, string message, params object[] args); void LogError(string message, params object[] args); IReadOnlyList GetRecentLogs(int maxCount = 100); Task UploadLogsAsync(); void ClearBuffer(); } }