Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT/#197] 서버통신 로그 형식 수정 #211

Merged
merged 6 commits into from
Mar 8, 2025

Conversation

Hyobeen-Park
Copy link
Collaborator

@Hyobeen-Park Hyobeen-Park commented Mar 6, 2025

Related issue 🛠

Work Description ✏️

  • 로그 형식 수정했습니다

Screenshot 📸

as-is
image

to-be
image

Uncompleted Tasks 😅

  • 서버 테스트 해보기

To Reviewers 📢

여기까진 잘 되는거 확인했는데 제가 코드 수정 한번 더 했거든요 그건 서버 열리고 테스트 하고 올려드릴게요ㅎㅎ
서버 테스트 완료!! 로그 잘 찍히는거 확인했습니당ㅎㅎ
그리고 등록할 때 이미지도 같이 로그에 찍히는거 너무너무너무너무 불편했는데 이제 dto만 찍히게 stirng 잘라버렸어요ㅎㅎ

@Hyobeen-Park Hyobeen-Park added ❤️효빈❤️ ❤️효빈❤️ FEAT✨ 새로운 기능 구현 labels Mar 6, 2025
@Hyobeen-Park Hyobeen-Park added this to the 2차 스프린트 milestone Mar 6, 2025
@Hyobeen-Park Hyobeen-Park self-assigned this Mar 6, 2025
@Hyobeen-Park Hyobeen-Park requested a review from a team as a code owner March 6, 2025 15:03
@Hyobeen-Park Hyobeen-Park requested review from chattymin, Roel4990 and angryPodo and removed request for a team March 6, 2025 15:03
@Hyobeen-Park Hyobeen-Park removed this from the 2차 스프린트 milestone Mar 6, 2025
Copy link
Member

@Roel4990 Roel4990 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다~ LGTM🚀

@Hyobeen-Park Hyobeen-Park requested a review from Roel4990 March 7, 2025 13:48
@Hyobeen-Park Hyobeen-Park modified the milestone: 2차 스프린트 Mar 7, 2025
Comment on lines +3 to +5
fun String?.isJsonObject(): Boolean = this?.startsWith("{") == true && this.endsWith("}")

fun String?.isJsonArray(): Boolean = this?.startsWith("[") == true && this.endsWith("]")
Copy link
Collaborator

@chattymin chattymin Mar 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이게 어디서 오신줄 알고있으신가요?
제가 33기때 들고와서 솝트에 퍼졌습니다 ㅋㅋㅋ


when {
jsonMessage.isJsonObject() ->
Timber.tag("okhttp").d(JSONObject(jsonMessage).toString(4))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

p3: 4 라는 값이 의미하는게 아마 TAB일거에요.
이걸 UNIT_TAB이라는 상수로 관리한다면 더욱 의미 전달이 좋을 것 같네요~

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오 TAB 맞습니다!! 이건 상수로 관리하는게 훨씬 좋겠네요ㅎㅎ

Copy link
Collaborator

@chattymin chattymin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Collaborator

@angryPodo angryPodo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

고생하셨습니다~ 빨리 머지대면 좋겠어요ㅠ

@Hyobeen-Park Hyobeen-Park merged commit 535fe0d into develop Mar 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FEAT✨ 새로운 기능 구현 ❤️효빈❤️ ❤️효빈❤️
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 서버 통신 로그 수정
4 participants