From 41a64e2e297372dfd61adc05c7a1d8309616eb1d Mon Sep 17 00:00:00 2001 From: Erdem Yerebasmaz Date: Sat, 23 Mar 2024 16:46:06 +0300 Subject: [PATCH] Filter out node logs below Debug level on app Increase default log level back to CONFIG from INFO --- lib/main.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/main.dart b/lib/main.dart index b901f34ec..ca1d4f223 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -3,6 +3,7 @@ import 'dart:async'; import 'dart:io'; +import 'package:breez_sdk/bridge_generated.dart'; import 'package:c_breez/bloc/account/account_bloc.dart'; import 'package:c_breez/bloc/account/credentials_manager.dart'; import 'package:c_breez/bloc/backup/backup_bloc.dart'; @@ -53,7 +54,7 @@ void main() async { var breezLogger = injector.breezLogger; final breezSDK = injector.breezSDK; if (!await breezSDK.isInitialized()) { - breezSDK.initialize(); + breezSDK.initialize(filterLevel: LevelFilter.Debug); breezLogger.registerBreezSdkLog(breezSDK); }