code: func NewReporter(l *log.Logger) reporter.Reporter {
  	if l == nil {
  		// use standard type of log setup
  		l = log.New(os.Stderr, "", log.LstdFlags)
  	}
  	return &logReporter{
  		logger: l,
  	}
  }
docs: // NewReporter returns a new log reporter.