Added a fully functioning logger