Skip to content

Commit

Permalink
Filter out node logs below Debug level on app
Browse files Browse the repository at this point in the history
Increase default log level back to CONFIG from INFO
  • Loading branch information
erdemyerebasmaz committed Nov 6, 2024
1 parent dedf38b commit 41a64e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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);
}

Expand Down

0 comments on commit 41a64e2

Please sign in to comment.