完成显示日志功能

This commit is contained in:
2025-09-07 19:48:48 +08:00
parent 0e4a306fa7
commit 5f0a4b23f4
15 changed files with 425 additions and 68 deletions

View File

@@ -8,6 +8,11 @@ namespace DMS.Core.Interfaces.Repositories;
/// </summary>
public interface INlogRepository : IBaseRepository<Nlog>
{
/// <summary>
/// 异步删除所有Nlog日志。
/// </summary>
Task DeleteAllAsync();
// 可以在此处添加 Nlog 特定的查询方法,例如:
// Task<List<Nlog>> GetLogsByLevelAsync(string level);
// Task<List<Nlog>> GetLogsByDateRangeAsync(DateTime startDate, DateTime endDate);