logger.go: Improve SetTemplate docs
logger.go: Panic on misnamed data fields in template
Add missing \n in TestSetTemplate()
Add TestSetTemplateBad()