Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Version Updates
Merging this PR will release new versions of the following packages based on your change files.
api-example
[2.0.20]
Dependencies
log@2.3.0
api-example-js
[2.0.16]
Dependencies
log-js@2.3.0
log
[2.3.0]
feat
is_skip_logger
flag to the Log PluginBuilder
struct, 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, aLoggerNotInitialized
is added and returned if it's called when theis_skip_looger
flag is set. Overall, this feature permits a user to avoid callingattach_logger
which 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 thelog
plugin attached (assuming they useskip_logger()
).log-js
[2.3.0]
feat
is_skip_logger
flag to the Log PluginBuilder
struct, 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, aLoggerNotInitialized
is added and returned if it's called when theis_skip_looger
flag is set. Overall, this feature permits a user to avoid callingattach_logger
which 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 thelog
plugin attached (assuming they useskip_logger()
).