Set `options(log_message.verbose)` for the calling frame, then restore the previous value. Nested `get_verbose()` calls, including compiled `log_message()` code, see the temporary value.
Examples
local({
local_verbose(FALSE)
get_verbose()
})
#> [1] FALSE