Import logger rather than rely on central function.