For the NVMe device given, send a sndk plugin get\-error\-recovery\-log command and output the error recovery log data\&. The \-\-output\-format option will format the output as specified\&.
.sp
The <device> parameter is mandatory and may be either the NVMe character device (ex: /dev/nvme0)\&.
.sp
This will only work on Sandisk devices supporting this log page\&. Results for any other device are undefined\&.
.sp
On success it returns the parsed error recovery log page data, error code otherwise\&.
.SH"OPTIONS"
.PP
\-o <fmt>, \-\-output\-format=<fmt>
.RS4
Set the reporting format to
\fInormal\fR, or
\fIjson\fR\&. Only one output format can be used at a time\&. Default is normal\&.
.RE
.SH"EXAMPLES"
.sp
.RS4
.ien\{\
\h'-04'\(bu\h'+03'\c
.\}
.el\{\
.sp-1
.IP\(bu2.3
.\}
Has the program issue sndk get\-error\-recovery\-log plugin command :