wrote logic to instantiate the logger