Keep logs of only the last 5 days
This commit is contained in:
parent
5b45041ed2
commit
56bc23c109
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ void main() async {
|
|||
WidgetsFlutterBinding.ensureInitialized();
|
||||
SuperLogging.logDirPath = (await getTemporaryDirectory()).path + "/logs";
|
||||
SuperLogging.enableInDebugMode = true;
|
||||
SuperLogging.maxLogFiles = 5;
|
||||
await SuperLogging.main(_main);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue