A Kawamata–Viehweg type formulation of the logarithmic Akizuki–Nakano vanishing theorem