var gdjs;(function(l){const i={info:console.log,warning:console.warn,error:console.error};class g{constructor(){this.discardedConsoleGroups=new Set}discardGroup(r){this.discardedConsoleGroups.add(r)}enableGroup(r){this.discardedConsoleGroups.delete(r)}log(r,n,u="info",d=!0){if(this.discardedConsoleGroups.has(r))return;(i[u]||i.info)(`[${r}] ${n}`)}}const s=new g;let e=s;function o(t){return t.reduce((r,n)=>r+n.toString(),"")}class a{constructor(r){this.enabled=!0;this.group=r}log(...r){!this.enabled||e.log(this.group,o(r),"info")}info(...r){!this.enabled||e.log(this.group,o(r),"info")}warn(...r){!this.enabled||e.log(this.group,o(r),"warning")}error(...r){!this.enabled||e.log(this.group,o(r),"error")}enable(r){return this.enabled=r,this}static getDefaultConsoleLoggerOutput(){return s}static getLoggerOutput(){return e}static setLoggerOutput(r){e=r}}l.Logger=a})(gdjs||(gdjs={}));
//# sourceMappingURL=logger.js.map
