mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-17 22:14:24 +01:00
Rename namespace (#345)
* Rename namespace * Fix flutter build * Fix kotlin-multiplatform CI * Rename repositories
This commit is contained in:
13
packages/react-native/ios/BreezSDKLiquidLogStream.swift
Normal file
13
packages/react-native/ios/BreezSDKLiquidLogStream.swift
Normal file
@@ -0,0 +1,13 @@
|
||||
import Foundation
|
||||
import BreezSDKLiquid
|
||||
|
||||
class BreezSDKLiquidLogger: Logger {
|
||||
static let emitterName: String = "breezSdkLiquidLog"
|
||||
|
||||
func log(l: LogEntry) {
|
||||
if RNBreezSDKLiquid.hasListeners {
|
||||
RNBreezSDKLiquid.emitter.sendEvent(withName: BreezSDKLiquidLogger.emitterName,
|
||||
body: BreezSDKLiquidMapper.dictionaryOf(logEntry: l))
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user