mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-28 15:29:56 +02:00
feat(log): rotate log file on each session (#3445)
* Update lib.rs * docstring for file_open_strategy * Create log-file-open-strategy.md * Update plugins/log/src/lib.rs Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com> --------- Co-authored-by: Tony <68118705+Legend-Master@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"log": minor:feat
|
||||
"log-js": minor
|
||||
---
|
||||
|
||||
Added the `FileOpenStrategy` for log rotation. It defaults to append into existing file if any (previous behaviour), and brings a new feature to create a new file per session: `FileOpenStrategy::Rotate`.
|
||||
Reference in New Issue
Block a user