umair13adil / flutter_logs

An extensive logging framework developed for flutter apps.
https://itnext.io/sending-logs-from-flutter-apps-in-real-time-using-elk-stack-mqtt-c24fa0cb9802
Apache License 2.0
39 stars 28 forks source link

Error logs are not getting printed, when using setDebugLevel at level 2 #21

Open pvsvamsi opened 2 years ago

pvsvamsi commented 2 years ago

Under FlutterLogs.logError(), FlutterLogs.logErrorTrace()

change printDebugMessage(result, 2); to printDebugMessage(result, 1);

So that it prints the error logs, in case _debugLevel is set as 1