-
Notifications
You must be signed in to change notification settings - Fork 0
[Fix] 강제 업데이트 오류 해결 #261
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
[Fix] 강제 업데이트 오류 해결 #261
Conversation
- 보다 사용하기 간편한 형태로 메서드의 인자를 Any로 수정
WalkthroughiTunes 조회 URL에서 국가 파라미터가 제거되었으며, 로깅 유틸리티에 Changes
Sequence Diagram(s)sequenceDiagram
participant Caller
participant WableLogger
Caller->>WableLogger: network(message)
WableLogger->>WableLogger: log(message, .network, ...)
Note right of WableLogger: 로그 출력
Caller->>WableLogger: debug(message)
WableLogger->>WableLogger: log(message, .debug, ...)
Note right of WableLogger: 로그 출력
Caller->>WableLogger: error(message)
WableLogger->>WableLogger: log(message, .error, ...)
Note right of WableLogger: 로그 출력
Assessment against linked issues
Assessment against linked issues: Out-of-scope changes
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🔇 Additional comments (5)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
youz2me
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
굿!! 로거를 조금 더 간편하게 쓰기 위한 고민이 엿보이는 좋은 리팩토링이네요 ㅎㅎ 고생하셨습니다.
국가 설정이 업데이트 반영을 느리게 만드는 줄은 몰랐는데 😂 원인이 생각보다 간단하면서도 찾기 힘드셨을거라는 생각이 드네요. 고생하셨습니다 ~!
|
|
||
| static func log( | ||
| _ message: String, | ||
| _ message: Any, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
기존에는 무조건 String 타입으로 넣어야만 했는데 Any 타입으로 변경되어 사용성이 높아진 점 너무 좋습니다!
👻 PULL REQUEST
📄 작업 내용
💻 주요 코드 설명
📍 와블 로거 개선하기
Any로 변경하여, 어떠한 타입이든 동작이 가능하도록 하였습니다.debug,network,error를 구현하여 사용 시 내용을 좀 더 간략하게 할 수 있도록 하였습니다.개선된 와블 로거 사용 예시
👀 리뷰어에게 전달할 사항
country=kr인 것이 반영을 느리게 만들었습니다.✅ 이번 PR에서 이런 부분을 중점적으로 체크해주세요!
잠깐 확인하고 갈까요?
들여쓰기를 5번 이하로 준수했는지, 코드 가독성이 적절한지 확인해주세요.
한 줄당 120자 제한을 준수했는지 확인해주세요.
MARK 주석이 정해진 순서와 형식에 맞게 작성되었는지 확인해주세요.
반복되는 상수 값이 있는지, 있다면 Constant enum으로 분리되어 있는지 확인해주세요.
삼항 연산자가 길어질 경우 적절히 개행되어 있는지 확인해주세요.
조건문에서 중괄호가 올바르게 사용되었는지 확인해주세요.
라이브러리 import가 퍼스트파티와 서드파티로 구분되고 알파벳순으로 정렬되었는지 확인해주세요.
용량이 큰 리소스나 호출되지 않을 가능성이 있는 프로퍼티에 lazy var가 적절히 사용되었는지 확인해주세요.
메모리 누수 방지를 위한 weak 참조가 필요한 곳에 적용되었는지 확인해주세요.
도메인 로직과 UI 로직이 적절히 분리되어 있는지 확인해주세요.
🔗 연결된 이슈
Summary by CodeRabbit
신규 기능
버그 수정
개선 사항