function overrideClientRequestId(ctx) {
    const prop = options.requestIdProp;
    if (prop !== undefined) {
      const clientRequestId = ctx.request.headers[constants.REQUEST_ID_HEADER_NAME];
      if (clientRequestId !== undefined) {
        ctx[prop] = clientRequestId;
      }
    }
  }
//  override the KOA bunyan logger request id field with client value
override the KOA bunyan logger request id field with client value
override the KOA bunyan logger request id field with client value
function overrideClientRequestId(ctx) {
    const prop = options.requestIdProp;
    if (prop !== undefined) {
      const clientRequestId = ctx.request.headers[constants.REQUEST_ID_HEADER_NAME];
      if (clientRequestId !== undefined) {
        ctx[prop] = clientRequestId;
      }
    }
  }
function overrideClientRequestId ( ctx ) { const prop = options . requestIdProp ; if ( prop !== undefined ) { const clientRequestId = ctx . request . headers [ constants . REQUEST_ID_HEADER_NAME ] ; if ( clientRequestId !== undefined ) { ctx [ prop ] = clientRequestId ; } } }
override the KOA bunyan logger request id field with client value
override the KOA bunyan logger request id field with client value