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