"use client";
const require_use_did_update = require("../use-did-update/use-did-update.cjs");
let react = require("react");
//#region packages/@mantine/hooks/src/use-logger/use-logger.ts
function useLogger(componentName, props) {
	(0, react.useEffect)(() => {
		console.log(`${componentName} mounted`, ...props);
		return () => console.log(`${componentName} unmounted`);
	}, []);
	require_use_did_update.useDidUpdate(() => {
		console.log(`${componentName} updated`, ...props);
	}, props);
	return null;
}
//#endregion
exports.useLogger = useLogger;

//# sourceMappingURL=use-logger.cjs.map