Generalized dimension truncation error analysis for high-dimensional numerical integration: lognormal setting and beyond