From b38159eef73b13fb544ab9f29f3572a6f1b2d797 Mon Sep 17 00:00:00 2001 From: 3lpsy <8757851+3lpsy@users.noreply.github.com> Date: Fri, 28 Mar 2025 19:08:39 -0500 Subject: [PATCH] Remove rebase skip-logger --- .changes/skip-logger.md | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 .changes/skip-logger.md diff --git a/.changes/skip-logger.md b/.changes/skip-logger.md deleted file mode 100644 index d5066491..00000000 --- a/.changes/skip-logger.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'log': 'minor:feat' -'log-js': 'minor:feat' ---- -Add a `is_skip_logger` flag to the Log Plugin `Builder` struct, a `skip_logger()` method to the Builder, and logic to avoid acquiring (creating) a logger and attaching it to the global logger. Since acquire_logger is pub, a `LoggerNotInitialized` is added and returned if it's called when the `is_skip_looger` flag is set. Overall, this feature permits a user to avoid calling `attach_logger` which can only be called once in a program's lifetime and allows the user to control the logger returned from `logger()`. Additionally, it also will allow users to generate multiple Tauri Mock apps in test suites that run and parallel and have the `log` plugin attached (assuming they use `skip_logger()`).