//! Process-wide hook for raising log verbosity at runtime.
//!
//! The binary owns tracing setup, but the document's `verbose` setting is only
//! discovered partway through a sync. The binary registers a hook here that
//! raises the log level; `sync` calls it once it has read the configuration.
use OnceLock;
/// A hook that raises the global log verbosity to debug level.
type VerboseHook = ;
static VERBOSE_HOOK: = new;
/// Register the verbosity-raising hook. Called once, by the binary, after it
/// has set up tracing.
/// Raise log verbosity to debug level, if a hook has been registered. A no-op
/// for a library consumer that never registered one.