Skip to content

Commit 16143fd

Browse files
committed
chore: 解除导出日志的行数限制
1 parent 15fb392 commit 16143fd

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

MFAAvalonia/Helper/FileLogExporter.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ public async static Task CompressRecentLogs(IStorageProvider storageProvider)
8585
else
8686
{
8787
// 日志文件:按行数限制处理
88-
if (file.LineCount > MAX_LINES)
89-
{
90-
ExtractLastLines(file.FullName, destPath, MAX_LINES);
91-
}
92-
else
93-
{
88+
// if (file.LineCount > MAX_LINES)
89+
// {
90+
// ExtractLastLines(file.FullName, destPath, MAX_LINES);
91+
// }
92+
// else
93+
// {
9494
File.Copy(file.FullName ?? string.Empty, destPath);
95-
}
95+
// }
9696
}
9797
}
9898

0 commit comments

Comments
 (0)