Skip to content

Commit

Permalink
Chore: 레코딩ID 로깅
Browse files Browse the repository at this point in the history
  • Loading branch information
yugyeom-ghim committed Nov 15, 2024
1 parent aee4d3d commit 3c72b16
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package notai.pageRecording.application;

import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import notai.document.domain.Document;
import notai.document.domain.DocumentRepository;
import notai.member.domain.Member;
Expand All @@ -13,6 +14,7 @@
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Slf4j
@Service
@Transactional
@RequiredArgsConstructor
Expand All @@ -24,6 +26,8 @@ public class PageRecordingService {
private final MemberRepository memberRepository;

public void savePageRecording(Long memberId, PageRecordingSaveCommand command) {
log.info("recordingId: {}, documentId: {}", command.recordingId(), command.documentId());

Recording foundRecording = recordingRepository.getById(command.recordingId());
Document foundDocument = documentRepository.getById(command.documentId());
Member member = memberRepository.getById(memberId);
Expand Down

0 comments on commit 3c72b16

Please sign in to comment.