兼容win7版应用
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
667 B

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<string> GetRecentLogs(int maxCount = 100);
Task<bool> UploadLogsAsync();
void ClearBuffer();
}
}