import { GlobalStateService as e } from "./global.service.js";
//#region src/internal/services/log.service.ts
var t = "@nve: ", n = class {
	static log(n, ...r) {
		e.state.env !== "production" && console.log(`${t}${n}`, ...r);
	}
	static warn(n, ...r) {
		e.state.env !== "production" && (console.warn(`${t}${n}`, ...r), this.#e("warn", n, ...r));
	}
	static error(n, ...r) {
		e.state.env !== "production" && (console.error(`${t}${n}`, ...r), this.#e("error", n, ...r));
	}
	static #e(e, t, ...n) {
		globalThis.document.dispatchEvent(new CustomEvent("NVE_ELEMENTS_LOG", { detail: {
			type: e,
			value: t,
			args: n
		} }));
	}
};
//#endregion
export { n as LogService };

//# sourceMappingURL=log.service.js.map