[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()).
PNPM Publish
npm warn publish npm auto-corrected some errors in your package.json when publishing. Please run "npm pkg fix" to address these errors.
npm warn publish errors corrected:
npm warn publish "repository" was changed from a string to an object
npm warn publish "repository.url" was normalized to "git+https://github.com/tauri-apps/plugins-workspace.git"
npm notice
npm notice 📦 @tauri-apps/plugin-log@2.3.0
npm notice Tarball Contents
npm notice 888B LICENSE.spdx
npm notice 4.2kB README.md
npm notice 6.9kB dist-js/index.cjs
npm notice 3.0kB dist-js/index.d.ts
npm notice 6.7kB dist-js/index.js
npm notice 714B package.json
npm notice Tarball Details
npm notice name: @tauri-apps/plugin-log
npm notice version: 2.3.0
npm notice filename: tauri-apps-plugin-log-2.3.0.tgz
npm notice package size: 5.1 kB
npm notice unpacked size: 22.4 kB
npm notice shasum: b4bd5edd82aa26c07552f57b9787fdf04f91262a
npm notice integrity: sha512-OhXv6WwumSIPW[...]hwMtPlCNUn2+Q==
npm notice total files: 6
npm notice
npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access
npm notice publish Signed provenance statement with source and build information from GitHub Actions
npm notice publish Provenance statement published to transparency log: https://search.sigstore.dev/?logIndex=179695106
+ @tauri-apps/plugin-log@2.3.0