RequestScope.log

Emit a logging notification, but drop it when its severity is below the client-configured minimum (logging/setLevel) per the RFC 5424 ordering. This is where the server honours "Only sends error level and above".

On the draft (stateless) protocol the server MUST NOT emit notifications/message for a request that did not carry _meta["io.modelcontextprotocol/logLevel"]; the server signals that by constructing this scope with loggingRequested = false, in which case every log is dropped regardless of severity.

class RequestScope
@safe
void
log
(
string level
,
Json data
,
string logger = null
)