Skip to content

Commit

Permalink
๐Ÿ”ฅ os_log ์‚ญ์ œ ๋ฐ String interpolation ์‚ญ์ œ
Browse files Browse the repository at this point in the history
  • Loading branch information
eung7 committed Jan 28, 2024
1 parent 1fd3135 commit 32dbccf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions PyeonHaeng-iOS/Sources/Extensions/Int+.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ extension Int {
let numberFormmater = NumberFormatter()
numberFormmater.numberStyle = .decimal
if let numberToString = numberFormmater.string(from: NSNumber(value: self)) {
return "\(numberToString)"
return numberToString
} else {
os_log(.error, "๐Ÿšจ %d์˜ ์‰ผํ‘œ ํ‘œ๊ธฐ๋ฒ• ํฌ๋งทํŒ…์„ ์‹คํŒจํ–ˆ์Šต๋‹ˆ๋‹ค.", self)
return "\(self)"
}
}
Expand Down
2 changes: 1 addition & 1 deletion Shared/Sources/DesignSystem/Sources/PyeonHaengFont.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public enum PyeonHaengFont {

/// Button 1
case b1

/// Button 2
case b2

Expand Down

0 comments on commit 32dbccf

Please sign in to comment.