ProcessReport
Value members
Concrete methods
Returns a JSON-formatted diagnostic report for the running process. The report's JavaScript stack trace is taken from err, if present.
Returns a JSON-formatted diagnostic report for the running process. The report's JavaScript stack trace is taken from err, if present.
Writes a diagnostic report to a file. If filename is not provided, the default filename includes the date, time, PID, and a sequence number. The report's JavaScript stack trace is taken from err, if present.
Writes a diagnostic report to a file. If filename is not provided, the default filename includes the date, time, PID, and a sequence number. The report's JavaScript stack trace is taken from err, if present.
- Value Params
- error
A custom error used for reporting the JavaScript stack.
- fileName
Name of the file where the report is written. This should be a relative path, that will be appended to the directory specified in
process.report.directory
, or the current working directory of the Node.js process, if unspecified.
- Returns
Filename of the generated report.
Inherited methods
Concrete fields
Directory where the report is written. working directory of the Node.js process.
Directory where the report is written. working directory of the Node.js process.
Filename where the report is written. The default value is the empty string.
Filename where the report is written. The default value is the empty string.
If true, a diagnostic report is generated on fatal errors, such as out of memory errors or failed C++ assertions.
If true, a diagnostic report is generated on fatal errors, such as out of memory errors or failed C++ assertions.
If true, a diagnostic report is generated when the process receives the signal specified by process.report.signal.
If true, a diagnostic report is generated when the process receives the signal specified by process.report.signal.