소스 검색

add logging

highing666 4 년 전
부모
커밋
358f3f239e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/api/routers/positioning.py

+ 1 - 0
app/api/routers/positioning.py

@@ -13,6 +13,7 @@ router = APIRouter()
 @router.post('/space/users/{user_id}/projects/{project_id}', response_model=PositionSpaceResponse)
 async def update_in_space(user_id: str, project_id: str, ibeacon_list: List[IBeaconBase]):
     space_id = await get_space_location(project_id, ibeacon_list)
+    logger.debug(f'{user_id} is in {space_id}')
     response = {
         'userId': user_id,
         'projectId': project_id