| 15 | `:v=`No parameters provided. |
| 16 | |
| 17 | `),F.log(`Sending notification '${d.method}'.`,v)}else xi("send-notification",d)}function Do(d,v,w){if(!(E===fe.Off||!F))if(H===Wt.Text){let z;(E===fe.Verbose||E===fe.Compact)&&(d.error&&d.error.data?z=`Error data: ${ft(d.error.data)} |
| 18 | |
| 19 | `:d.result?z=`Result: ${ft(d.result)} |
| 20 | |
| 21 | `:d.error===void 0&&(z=`No result returned. |
| 22 | |
| 23 | `)),F.log(`Sending response '${v} - (${d.id})'. Processing request took ${Date.now()-w}ms`,z)}else xi("send-response",d)}function Qx(d){if(!(E===fe.Off||!F))if(H===Wt.Text){let v;(E===fe.Verbose||E===fe.Compact)&&d.params&&(v=`Params: ${ft(d.params)} |
| 24 | |
| 25 | `),F.log(`Received request '${d.method} - (${d.id})'.`,v)}else xi("receive-request",d)}function uu(d){if(!(E===fe.Off||!F||d.method===Sl.type.method))if(H===Wt.Text){let v;(E===fe.Verbose||E===fe.Compact)&&(d.params?v=`Params: ${ft(d.params)} |
| 26 | |