import { identifyTenant as a } from "@b2x/std/helpers/identify-tenant.mjs";
import { a as g, L as s } from "./initialize-logger.mjs";
import { g as f } from "./shared-logger.mjs";
const c = f();
function p(e, o) {
  const t = {};
  for (const n of Object.keys(o)) {
    const r = o[n];
    typeof r == "function" ? t[n] = (...i) => (a(e, String(n)), r(...i)) : c(`Method "${String(n)}" is not a function and was ignored.`, {
      group: s.UTILS,
      level: g.WARN
    });
  }
  return t;
}
export {
  p as w
};
//# sourceMappingURL=with-usage-tracking.mjs.map
