@vizzly/dashboard 0.15.0-dev-230b082ee8c6044131909984ccbd1d9f26373bdf → 0.15.0-dev-4beae8623ea0574c0fe50b5f3fd0ef2ec64b955a

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.
@@ -895,6 +895,17 @@ var parseToPino = function parseToPino(prefix, args) {
895
895
  var msg = parts.length ? prefix + " " + parts.join(' ') : prefix;
896
896
  return err ? [err, msg] : [msg];
897
897
  };
898
+ var wrapCallbackInDebugLog = function wrapCallbackInDebugLog(name, fn) {
899
+ if (fn === undefined) return undefined;
900
+ return function () {
901
+ for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
902
+ args[_key6] = arguments[_key6];
903
+ }
904
+ var result = fn.apply(void 0, args);
905
+ logDebug("Function " + name + " called with", args, 'and returned', result);
906
+ return result;
907
+ };
908
+ };
898
909
 
899
910
  var NULL_REPLACEMENT = 'No value';
900
911
  var upcastField = function upcastField(maybeOldField, queryEngineConfig, options) {
@@ -81303,7 +81314,7 @@ var GlobalProviderContents = function GlobalProviderContents(props) {
81303
81314
  maxCSVDownloadLimit: props.maxCSVDownloadLimit,
81304
81315
  textOverrides: props.textOverrides,
81305
81316
  developerTools: props.developerTools,
81306
- dashboardFilters: props.dashboardFilters,
81317
+ dashboardFilters: wrapCallbackInDebugLog('dashboardFilters', props.dashboardFilters),
81307
81318
  onDashboardFilterChange: props.onDashboardFilterChange,
81308
81319
  onSave: onSave,
81309
81320
  onOpenConfigManagerUi: canOpenConfigManagerUi ? onOpenConfigManagerUi : undefined,