Require logger before using