Typehint the logger