mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
ios: set log level
This commit is contained in:
@@ -1286,6 +1286,10 @@ func apiGetVersion() throws -> CoreVersionInfo {
|
||||
throw r
|
||||
}
|
||||
|
||||
func apiSetAppLogLevel(_ ll: ChatLogLevel) async throws {
|
||||
try await sendCommandOkResp(.setAppLogLevel(appLogLevel: ll))
|
||||
}
|
||||
|
||||
private func currentUserId(_ funcName: String) throws -> Int64 {
|
||||
if let userId = ChatModel.shared.currentUser?.userId {
|
||||
return userId
|
||||
|
||||
Reference in New Issue
Block a user