@@ -1755,10 +1755,12 @@ relied upon to exist.
1755
1755
## ` process.report `
1756
1756
<!-- YAML
1757
1757
added: v11.8.0
1758
+ changes:
1759
+ - version: REPLACEME
1760
+ pr-url: https://github.com/nodejs/node/pull/32242
1761
+ description: This API is no longer considered experimental.
1758
1762
-->
1759
1763
1760
- > Stability: 1 - Experimental
1761
-
1762
1764
* {Object}
1763
1765
1764
1766
` process.report ` is an object whose methods are used to generate diagnostic
@@ -1768,10 +1770,12 @@ reports for the current process. Additional documentation is available in the
1768
1770
### ` process.report.directory `
1769
1771
<!-- YAML
1770
1772
added: v11.12.0
1773
+ changes:
1774
+ - version: REPLACEME
1775
+ pr-url: https://github.com/nodejs/node/pull/32242
1776
+ description: This API is no longer considered experimental.
1771
1777
-->
1772
1778
1773
- > Stability: 1 - Experimental
1774
-
1775
1779
* {string}
1776
1780
1777
1781
Directory where the report is written. The default value is the empty string,
@@ -1785,10 +1789,12 @@ console.log(`Report directory is ${process.report.directory}`);
1785
1789
### ` process.report.filename `
1786
1790
<!-- YAML
1787
1791
added: v11.12.0
1792
+ changes:
1793
+ - version: REPLACEME
1794
+ pr-url: https://github.com/nodejs/node/pull/32242
1795
+ description: This API is no longer considered experimental.
1788
1796
-->
1789
1797
1790
- > Stability: 1 - Experimental
1791
-
1792
1798
* {string}
1793
1799
1794
1800
Filename where the report is written. If set to the empty string, the output
@@ -1802,10 +1808,12 @@ console.log(`Report filename is ${process.report.filename}`);
1802
1808
### ` process.report.getReport([err]) `
1803
1809
<!-- YAML
1804
1810
added: v11.8.0
1811
+ changes:
1812
+ - version: REPLACEME
1813
+ pr-url: https://github.com/nodejs/node/pull/32242
1814
+ description: This API is no longer considered experimental.
1805
1815
-->
1806
1816
1807
- > Stability: 1 - Experimental
1808
-
1809
1817
* ` err ` {Error} A custom error used for reporting the JavaScript stack.
1810
1818
* Returns: {Object}
1811
1819
@@ -1843,10 +1851,12 @@ console.log(`Report on fatal error: ${process.report.reportOnFatalError}`);
1843
1851
### ` process.report.reportOnSignal `
1844
1852
<!-- YAML
1845
1853
added: v11.12.0
1854
+ changes:
1855
+ - version: REPLACEME
1856
+ pr-url: https://github.com/nodejs/node/pull/32242
1857
+ description: This API is no longer considered experimental.
1846
1858
-->
1847
1859
1848
- > Stability: 1 - Experimental
1849
-
1850
1860
* {boolean}
1851
1861
1852
1862
If ` true ` , a diagnostic report is generated when the process receives the
@@ -1859,10 +1869,12 @@ console.log(`Report on signal: ${process.report.reportOnSignal}`);
1859
1869
### ` process.report.reportOnUncaughtException `
1860
1870
<!-- YAML
1861
1871
added: v11.12.0
1872
+ changes:
1873
+ - version: REPLACEME
1874
+ pr-url: https://github.com/nodejs/node/pull/32242
1875
+ description: This API is no longer considered experimental.
1862
1876
-->
1863
1877
1864
- > Stability: 1 - Experimental
1865
-
1866
1878
* {boolean}
1867
1879
1868
1880
If ` true ` , a diagnostic report is generated on uncaught exception.
@@ -1874,10 +1886,12 @@ console.log(`Report on exception: ${process.report.reportOnUncaughtException}`);
1874
1886
### ` process.report.signal `
1875
1887
<!-- YAML
1876
1888
added: v11.12.0
1889
+ changes:
1890
+ - version: REPLACEME
1891
+ pr-url: https://github.com/nodejs/node/pull/32242
1892
+ description: This API is no longer considered experimental.
1877
1893
-->
1878
1894
1879
- > Stability: 1 - Experimental
1880
-
1881
1895
* {string}
1882
1896
1883
1897
The signal used to trigger the creation of a diagnostic report. Defaults to
@@ -1890,10 +1904,12 @@ console.log(`Report signal: ${process.report.signal}`);
1890
1904
### ` process.report.writeReport([filename][, err]) `
1891
1905
<!-- YAML
1892
1906
added: v11.8.0
1907
+ changes:
1908
+ - version: REPLACEME
1909
+ pr-url: https://github.com/nodejs/node/pull/32242
1910
+ description: This API is no longer considered experimental.
1893
1911
-->
1894
1912
1895
- > Stability: 1 - Experimental
1896
-
1897
1913
* ` filename ` {string} Name of the file where the report is written. This
1898
1914
should be a relative path, that will be appended to the directory specified in
1899
1915
` process.report.directory ` , or the current working directory of the Node.js
0 commit comments