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

Put a line break after end of every log type #36

Open pasha13d opened 2 years ago

pasha13d commented 2 years ago

Is there any way to put a line break for every line for better readability? How could I do that?

umair13adil commented 2 years ago

@pasha13d That can be done during writing of logs, just add '\n', e.g:

FlutterLogs.logInfo("TAG", "subTag", "My Log Message \n");

FlutterLogs.logToFile( logFileName: "Locations", overwrite: false, logMessage: "{0.0,0.0} \n");