mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-29 04:14:30 +00:00
feat(asset): convert purge log to structured format and add logging guide to AGENTS.md
This commit is contained in:
@@ -894,6 +894,11 @@ export class AssetService {
|
||||
})
|
||||
|
||||
logger.info(
|
||||
{
|
||||
purgedCount: successfulIds.length,
|
||||
physicalFilesDeleted,
|
||||
physicalFoldersDeleted,
|
||||
},
|
||||
`${successfulIds.length} assets purged, deleted ${physicalFilesDeleted} files in ${physicalFoldersDeleted} folders`,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user