@carbonorm/carbonnode 1.1.11 → 1.2.1

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.
@@ -395,6 +395,12 @@ export default function restApi<
395
395
 
396
396
  return (request: iAPI<Modify<RestTableInterfaces, RequestTableOverrides>> & CustomAndRequiredFields = {} as iAPI<Modify<RestTableInterfaces, RequestTableOverrides>> & CustomAndRequiredFields) => {
397
397
 
398
+ console.groupCollapsed('%c API: (' + requestMethod + ') Request for (' + operatingTable + ')', 'color: #0c0')
399
+
400
+ console.log('request', request)
401
+
402
+ console.groupEnd()
403
+
398
404
  // an undefined query would indicate queryCallback returned undefined,
399
405
  // thus the request shouldn't fire as is in custom cache
400
406
  let query: RequestQueryBody<Modify<RestTableInterfaces, RequestTableOverrides>> | undefined | null;