let e=function(e){return e[e.DEBUG=0]=`DEBUG`,e[e.INFO=1]=`INFO`,e[e.WARN=2]=`WARN`,e[e.ERROR=3]=`ERROR`,e}({});var t=class{#e;constructor(t=e.INFO){this.#e=t}setLevel(e){this.#e=e}debug(t,...n){this.#e<=e.DEBUG&&console.debug(`[DEBUG] ${t}`,...n)}info(t,...n){this.#e<=e.INFO&&console.info(`[INFO] ${t}`,...n)}warn(t,...n){this.#e<=e.WARN&&console.warn(`[WARN] ${t}`,...n)}error(t,...n){this.#e<=e.ERROR&&console.error(`[ERROR] ${t}`,...n)}};const n=new t;export{e as LogLevel,t as Logger,n as logger};