// DeepResolver
@Override
public UniqueIdentifiable withLogger(final UniqueIdentifiable underlying, final ResolutionLogger logger) {
if (underlying instanceof PortfolioNode) {
return new LoggedResolutionPortfolioNode((PortfolioNode) underlying, logger);
} else {
return null;
}
}