新增 App 建立、資料呈現
This commit is contained in:
@@ -152,6 +152,17 @@ export class Logger {
|
||||
context: context || this.context
|
||||
});
|
||||
}
|
||||
|
||||
// 活動日誌
|
||||
logActivity(userId: string, entityType: string, entityId: string, action: string, data?: any) {
|
||||
this.info('User Activity', {
|
||||
userId,
|
||||
entityType,
|
||||
entityId,
|
||||
action,
|
||||
data
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// 預設日誌實例
|
||||
|
Reference in New Issue
Block a user