Gets the logger registered using setLogger