if (logger==null) {
// logger is never null - guaranteed.
// throw this in the unlikely odd still
throw new IllegalStateException("no logger set");
}
logger.frameworkSetSession(UserSession.getUserSessionIfAlreadySet(req.getHttpReq()));
}
/**
* Add a LoggingResourceable (e.g. a wrapped Course or a wrapped name of a CP file) to this
* Controller's IUserActivityLogger.