I want to write error log or info log or both into the log file. It'll be according to users preferences. I've set value into logLevelsEnabled. But Flutter_logs all time writes all types of log into log file. How could I write only given types of logs into log file?
I want to write error log or info log or both into the log file. It'll be according to users preferences. I've set value into logLevelsEnabled. But Flutter_logs all time writes all types of log into log file. How could I write only given types of logs into log file?