[2.3.0]
feat
02481501(#2377 by @3lpsy) Add ais_skip_loggerflag to the Log PluginBuilderstruct, askip_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, aLoggerNotInitializedis added and returned if it's called when theis_skip_loogerflag is set. Overall, this feature permits a user to avoid callingattach_loggerwhich can only be called once in a program's lifetime and allows the user to control the logger returned fromlogger(). Additionally, it also will allow users to generate multiple Tauri Mock apps in test suites that run and parallel and have thelogplugin attached (assuming they useskip_logger()).
Cargo Publish
Updating crates.io index
Packaging tauri-plugin-log v2.3.0 (/home/runner/work/plugins-workspace/plugins-workspace/plugins/log)
Updating crates.io index
Packaged 26 files, 216.0KiB (86.0KiB compressed)
Uploading tauri-plugin-log v2.3.0 (/home/runner/work/plugins-workspace/plugins-workspace/plugins/log)
Uploaded tauri-plugin-log v2.3.0 to registry `crates-io`
note: waiting for `tauri-plugin-log v2.3.0` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
Published tauri-plugin-log v2.3.0 at registry `crates-io`