Fixed blatantly obvious bug in the logger

whereby if doesPrintOut was set to false, only the first argument would be printed