feat(asset): convert purge log to structured format and add logging guide to AGENTS.md

This commit is contained in:
yiling
2026-05-24 09:40:53 +08:00
parent c990e77478
commit 6655cdb767
2 changed files with 16 additions and 0 deletions
+5
View File
@@ -894,6 +894,11 @@ export class AssetService {
})
logger.info(
{
purgedCount: successfulIds.length,
physicalFilesDeleted,
physicalFoldersDeleted,
},
`${successfulIds.length} assets purged, deleted ${physicalFilesDeleted} files in ${physicalFoldersDeleted} folders`,
)
}