@@ -1669,7 +1669,7 @@ added: v11.8.0
1669
1669
reports for the current process. Additional documentation is available in the
1670
1670
[ report documentation] [ ] .
1671
1671
1672
- ## process.report.directory
1672
+ ### process.report.directory
1673
1673
<!-- YAML
1674
1674
added: REPLACEME
1675
1675
-->
@@ -1684,6 +1684,21 @@ Node.js process.
1684
1684
console .log (` Report directory is ${ process .report .directory } ` );
1685
1685
```
1686
1686
1687
+ ### process.report.filename
1688
+ <!-- YAML
1689
+ added: REPLACEME
1690
+ -->
1691
+
1692
+ * {string}
1693
+
1694
+ Filename where the report is written. If set to the empty string, the output
1695
+ filename will be comprised of a timestamp, PID, and sequence number. The default
1696
+ value is the empty string.
1697
+
1698
+ ``` js
1699
+ console .log (` Report filename is ${ process .report .filename } ` );
1700
+ ```
1701
+
1687
1702
### process.report.getReport([ err] )
1688
1703
<!-- YAML
1689
1704
added: v11.8.0
@@ -1702,22 +1717,7 @@ console.log(data);
1702
1717
1703
1718
Additional documentation is available in the [ report documentation] [ ] .
1704
1719
1705
- ## process.report.filename
1706
- <!-- YAML
1707
- added: REPLACEME
1708
- -->
1709
-
1710
- * {string}
1711
-
1712
- Filename where the report is written. If set to the empty string, the output
1713
- filename will be comprised of a timestamp, PID, and sequence number. The default
1714
- value is the empty string.
1715
-
1716
- ``` js
1717
- console .log (` Report filename is ${ process .report .filename } ` );
1718
- ```
1719
-
1720
- ## process.report.reportOnFatalError
1720
+ ### process.report.reportOnFatalError
1721
1721
<!-- YAML
1722
1722
added: REPLACEME
1723
1723
-->
@@ -1731,7 +1731,7 @@ memory errors or failed C++ assertions.
1731
1731
console .log (` Report on fatal error: ${ process .report .reportOnFatalError } ` );
1732
1732
```
1733
1733
1734
- ## process.report.reportOnSignal
1734
+ ### process.report.reportOnSignal
1735
1735
<!-- YAML
1736
1736
added: REPLACEME
1737
1737
-->
@@ -1745,7 +1745,7 @@ signal specified by `process.report.signal`.
1745
1745
console .log (` Report on signal: ${ process .report .reportOnSignal } ` );
1746
1746
```
1747
1747
1748
- ## process.report.reportOnUncaughtException
1748
+ ### process.report.reportOnUncaughtException
1749
1749
<!-- YAML
1750
1750
added: REPLACEME
1751
1751
-->
@@ -1758,15 +1758,15 @@ If `true`, a diagnostic report is generated on uncaught exception.
1758
1758
console .log (` Report on exception: ${ process .report .reportOnUncaughtException } ` );
1759
1759
```
1760
1760
1761
- ## process.report.signal
1761
+ ### process.report.signal
1762
1762
<!-- YAML
1763
1763
added: REPLACEME
1764
1764
-->
1765
1765
1766
1766
* {string}
1767
1767
1768
1768
The signal used to trigger the creation of a diagnostic report. Defaults to
1769
- ` SIGUSR2 ` .
1769
+ ` ' SIGUSR2' ` .
1770
1770
1771
1771
``` js
1772
1772
console .log (` Report signal: ${ process .report .signal } ` );
0 commit comments