Skip to content

Commit

Permalink
[feat #125] Aop logging (#126)
Browse files Browse the repository at this point in the history
* [feat] : log 간소화를 위한 toString() 오버라이드

* [chore] : log 파일 저장 스크립트 xml 추가

* [chore] : logging 파일 저장 테스트를 위한 cd 스크립트 수정

* [chore] : goback 프레임워크 gradle 추가

* [chore] : chore 관련 파일 원복(CD 제외)

* [chore] : cd 스크립트 파일 원상복구
  • Loading branch information
dudxo authored Sep 30, 2024
1 parent b1d7de8 commit f7ad698
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,12 @@ public AnsweredQuestionPostsResponse(
answer.getCreatedAt().toString()
);
}

@Override
public String toString() {
return "AnsweredQuestionPostsResponse{" +
"questionPostId=" + questionPostId +
", answerId=" + answerId +
'}';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,12 @@ public BookmarksResponse(
recommendCount
);
}

@Override
public String toString() {
return "BookmarksResponse{" +
"questionPostId=" + questionPostId +
", questionTitle='" + questionTitle + '\'' +
'}';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,12 @@ public CreditHistoryResponse(CreditHistory creditHistory, int profileImageNo) {
creditHistory.getCreatedAt().toString()
);
}

@Override
public String toString() {
return "CreditHistoryResponse{" +
"id=" + id +
", type='" + type + '\'' +
'}';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,12 @@ public QuestionPostsResponse(
recommendCount
);
}

@Override
public String toString() {
return "QuestionPostsResponse{" +
"questionPostId=" + questionPostId +
", questionTitle='" + questionTitle + '\'' +
'}';
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,12 @@ public QuestionPostSimpleResponse(
recommendCount
);
}

@Override
public String toString() {
return "QuestionPostSimpleResponse{" +
"questionPostId=" + questionPostId +
", title='" + title + '\'' +
'}';
}
}

0 comments on commit f7ad698

Please sign in to comment.