Creates a timestamped diagnostic logger that writes to stderr.
When called, the returned function only logs if verbose is true.
verbose
true
Subsystem prefix (e.g. "acp-sdk", "claude-sdk").
"acp-sdk"
"claude-sdk"
When false, the returned function is a no-op.
false
A (tag, ...args) => void logging function.
(tag, ...args) => void
Creates a timestamped diagnostic logger that writes to stderr.
When called, the returned function only logs if
verboseistrue.