import{h as l,l as p}from"./chunk-HQJI5M5I.js";import{a as c}from"./chunk-PTMJTNEU.js";import{$ as r,ea as e}from"./chunk-PCDQIHDN.js";var h=(()=>{let t=class t{constructor(){this.httpClient=e(l),this.monitoringEndpoint=`${c.endpoints.api}/monitoring`}log(o,i=p.Debug){let s={message:o,logLevel:i};this.httpClient.post(`${this.monitoringEndpoint}/log`,s).subscribe(()=>{console.log("Monitoring-entry uploaded successfully",o)},()=>{console.warn("Failed to upload monitoring-entry",o)})}};t.\u0275fac=function(i){return new(i||t)},t.\u0275prov=r({token:t,factory:t.\u0275fac,providedIn:"root"});let n=t;return n})();export{h as a};
