@medplum/fhir-router 3.2.3 → 3.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -230,6 +230,7 @@ export declare class FhirRouter extends EventTarget_2 {
230
230
  constructor(options?: {});
231
231
  add(method: HttpMethod, path: string, handler: FhirRouteHandler): void;
232
232
  handleRequest(req: FhirRequest, repo: FhirRepository): Promise<FhirResponse>;
233
+ log(level: string, message: string, data?: Record<string, any>): void;
233
234
  }
234
235
 
235
236
  export declare type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';
@@ -230,6 +230,7 @@ export declare class FhirRouter extends EventTarget_2 {
230
230
  constructor(options?: {});
231
231
  add(method: HttpMethod, path: string, handler: FhirRouteHandler): void;
232
232
  handleRequest(req: FhirRequest, repo: FhirRepository): Promise<FhirResponse>;
233
+ log(level: string, message: string, data?: Record<string, any>): void;
233
234
  }
234
235
 
235
236
  export declare type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';