log@2.3.0
02481501
(#2377 by @3lpsy) Add ais_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()
).
© 2025 Tauri Contributors. CC-BY / MIT