tauri-apps / plugins-workspace

All of the official Tauri plugins in one place!
https://tauri.app
Apache License 2.0
758 stars 205 forks source link

Support log KeepMany #1152

Open Sytten opened 3 months ago

Sytten commented 3 months ago

Right now you have only KeepAll or KeepOne, neither are really good IMO. Usually you want a balance where you keep the last X files, either by restarts or (ideally) by day.

So the new enum could look like:

enum LogRotation {
  KeepOne
  KeepAll
  KeepMany(usize)
}
FabianLars commented 3 months ago

https://github.com/tauri-apps/plugins-workspace/pull/677