updating logger so multiple variable can be passed in at once