code: func newLogOutputView(awsSession *session.Session,
  	app *tview.Application,
  	lambdaAWSInfos []*LambdaAWSInfo,
  	settings map[string]string,
  	logger *logrus.Logger) (tview.Primitive, []tview.Primitive) {
  
  	// Log to JSON
  	logger.Formatter = &colorizingFormatter{}
  	logDataView := tview.NewTextView().
  		SetScrollable(true).
  		SetDynamicColors(true)
  	logDataView.SetChangedFunc(func() {
  		logDataView.ScrollToEnd()
  	})
  	logDataView.SetBorder(true).SetTitle("Output")
  
  	colorWriter := tview.ANSIWriter(logDataView)
  	logger.Out = colorWriter
  	return logDataView, []tview.Primitive{logDataView}
  }
docs: ////////////////////////////////////////////////////////////////////////////////
  //
  // Redirect the logger to the log view
  //