민감한 런타임 로그를 마스킹하고 릴리스 빌드에서 비활성화#401
Merged
Merged
Conversation
|
Visit the preview URL for this PR (updated for commit d3e949f): https://ontime-c63f1--pr401-codex-implement-issu-93riaswk.web.app (expires Thu, 14 May 2026 05:49:45 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 7d60a2eae4c4a5839220ed6a57552a3b61cce5a3 |
|
Visit the preview URL for this PR (updated for commit d3e949f): https://on-time-front-widgetbook--pr401-codex-implement-issu-raz6p46l.web.app (expires Thu, 14 May 2026 05:50:16 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: e53128a376fed0209d449279de9c0d94c83cdd8b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
debug전용 로그와 민감값 마스킹을 중앙화했습니다.main()에서 비디버그 빌드의debugPrint출력을 차단하고, FCM 토큰 로그는 마스킹하도록 바꿨습니다.Log.*호출을NativeLog로 감싸 릴리스 빌드에서는 출력되지 않게 했고, iOS AlarmKit 로그도#if DEBUG로 제한했습니다.Testing
flutter test test/core/logging/app_logger_test.dartflutter analyzegit diff --check