Implemented the new logger module behaviour