Fail more clearly if given invalid input
Merge pull request #245 from CloCkWeRX/reject_invalid_log_arguments

Fail more clearly if given invalid input to logging subsystem