+ return $this;
+ }
+
+ /**
+ * Set the collectContext flag
+ *
+ * @param bool $collectContext
+ * @since 1.29
+ * @return TestLogger $this
+ */
+ public function setCollectContext( $collectContext ) {
+ $this->collectContext = $collectContext;
+ return $this;