Skip to content

Commit

Permalink
[#2783] Fix Kermit extension error in iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaozhan committed Sep 27, 2023
1 parent 62750a0 commit a59a297
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
14 changes: 6 additions & 8 deletions ios/CCC/Util/KermitExt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,27 @@
import Provider

extension KermitLogger {
private let tag = "Kermit"

func i(message: @escaping () -> String) {
self.i(throwable: nil, tag: tag, message: message)
self.i(throwable: nil, tag: "Kermit", message: message)
}

func d(message: @escaping () -> String) {
self.d(throwable: nil, tag: tag, message: message)
self.d(throwable: nil, tag: "Kermit", message: message)
}

func w(message: @escaping () -> String) {
self.w(throwable: nil, tag: tag, message: message)
self.w(throwable: nil, tag: "Kermit", message: message)
}

func v(message: @escaping () -> String) {
self.v(throwable: nil, tag: tag, message: message)
self.v(throwable: nil, tag: "Kermit", message: message)
}

func e(message: @escaping () -> String) {
self.e(throwable: nil, tag: tag, message: message)
self.e(throwable: nil, tag: "Kermit", message: message)
}

func a(message: @escaping () -> String) {
self.a(throwable: nil, tag: tag, message: message)
self.a(throwable: nil, tag: "Kermit", message: message)
}
}
8 changes: 4 additions & 4 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PODS:
- provider (0.0.3138)
- res (0.0.3138)
- provider (0.0.3139)
- res (0.0.3139)

DEPENDENCIES:
- provider (from `../ios/provider/provider.podspec`)
Expand All @@ -13,8 +13,8 @@ EXTERNAL SOURCES:
:path: "../client/core/res/res.podspec"

SPEC CHECKSUMS:
provider: 876a2309fdd1ed5070725ed14a1f4eca55fa59fd
res: 3b3e0bb302a80a1e9f770c16c27bdf8e328d60de
provider: 8667d02337d9ce293e54648f4a59db16a4322322
res: 3312ea2b12800801c81c24715f2f65af98eee1a0

PODFILE CHECKSUM: 412cec7fc739afa9e2c84446671ea1c95b0a4e74

Expand Down

0 comments on commit a59a297

Please sign in to comment.