"use strict";(globalThis.webpackChunk_elliemae_pui_diagnostics=globalThis.webpackChunk_elliemae_pui_diagnostics||[]).push([[8672],{116:(e,n,t)=>{t.d(n,{R:()=>o,x:()=>a});var s=t(758);const i={},r=s.createContext(i);function o(e){const n=s.useContext(r);return s.useMemo(function(){return"function"==typeof e?e(n):{...n,...e}},[n,e])}function a(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),s.createElement(r.Provider,{value:n},e.children)}},3575:(e,n,t)=>{t.r(n),t.d(n,{assets:()=>l,contentTitle:()=>a,default:()=>u,frontMatter:()=>o,metadata:()=>s,toc:()=>d});const s=JSON.parse('{"id":"features","title":"Features","description":"- logs unhandled errors and unhandled promise rejections","source":"@site/docs/features.md","sourceDirName":".","slug":"/features","permalink":"/diagnostics/features","draft":false,"unlisted":false,"editUrl":"https://git.elliemae.io/platform-ui/pui-diagnostics.git/docs/features.md","tags":[],"version":"current","frontMatter":{},"sidebar":"docsSidebar","previous":{"title":"Transport","permalink":"/diagnostics/api/type-aliases/Transport"},"next":{"title":"Getting Started","permalink":"/diagnostics/"}}');var i=t(6070),r=t(116);const o={},a="Features",l={},d=[];function c(e){const n={a:"a",h1:"h1",header:"header",li:"li",ul:"ul",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.header,{children:(0,i.jsx)(n.h1,{id:"features",children:"Features"})}),"\n",(0,i.jsxs)(n.ul,{children:["\n",(0,i.jsx)(n.li,{children:"logs unhandled errors and unhandled promise rejections"}),"\n",(0,i.jsx)(n.li,{children:"logs messages to different targets: console or http endpoint"}),"\n",(0,i.jsx)(n.li,{children:"does not block unloading of the document or navigation of webpage"}),"\n",(0,i.jsxs)(n.li,{children:["follows ",(0,i.jsx)(n.a,{href:"https://confluence.elliemae.io/display/DEV/Logging+guidelines",children:"ICEMT logging guidelines"})]}),"\n",(0,i.jsx)(n.li,{children:"JS framework agnostic"}),"\n",(0,i.jsx)(n.li,{children:"available as browser / npm module"}),"\n",(0,i.jsx)(n.li,{children:"redact PII information from log messages"}),"\n"]})]})}function u(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(c,{...e})}):c(e)}}}]);