code: func NewTextHandler(t *template.Template, output TextOutput) *TextHandler {
  	return &TextHandler{template: t, output: output}
  }
docs: // NewTextHandler creates a Handler that creates LogEvents, passes them to
  // the given template, and passes the result to output