You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var s=class{#e=!0;#r=!0;#i=["info","warn"];constructor(){this.#n=Object.create(console),this.#s()}#t=null;#n=null;#o=()=>{};#s(){this.#t=this.#e?this.#n:null,this.#t&&this.#r?this.suppress.forEach(t=>{this.#t[t]=this.#o}):this.#t&&this.suppress.forEach(t=>{this.#t[t]=console[t].bind(console)})}get suppress(){return[...this.#i]}set suppress(t){if(!Array.isArray(t))throw new TypeError("Must provide an array of strings");if(!t.every(e=>typeof e=="string"))throw new TypeError("Must provide an array of strings");this.#i=[...t],this.#s()}get logger(){return this.#t}get enabled(){return this.#e}set enabled(t){this.#e=!!t,this.#s()}get quiet(){return this.#r}set quiet(t){this.#r=!!t,this.#s()}},r=new s,n=r.logger;export{s as NullishLogger,n as debug,r as instance};