Logger in router.php - How to

Hi,
sorry to coming to this after some months, but is there a way to call loggerInterface from a PHPMailer Support Class, like presented in this post: PHPMailer Example?

I tried your initial injection, and it didn’t work. I must say, that this injections stuff is not very intuitive to me.

Thx