added conditional logging
missed a console log
changed logging function to take abritrary number of arguments
Merge pull request #10 from TJkrusinski/master

Added conditional logging