returns a new Context, derived from ctx, which carries the provided Logger.
static Context withLogger(Logger? logger) { return Context.withValue(logger); }