text: (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[97943],{17375:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}n.d(t,{Z:function(){return r}})},69644:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return c}});var r=n(17375),a=n(96156),i=(n(67294),n(3905));function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g,o=(g="Intro",function(e){return console.warn("Component "+g+" was not imported, exported, or provided by MDXProvider as global scope"),(0,i.kt)("div",l({},e))}),u={};function c(e){var t=e.components,n=(0,r.Z)(e,["components"]);return(0,i.kt)("wrapper",l(l(l({},u),n),{},{components:t,mdxType:"MDXLayout"}),(0,i.kt)("h1",l({},{id:"console"}),"Console"),(0,i.kt)(o,{mdxType:"Intro"},(0,i.kt)("p",null,"Provide console (logging) utilities.")),(0,i.kt)("h2",l({},{id:"log"}),"log"),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let log: 'a => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let log2: ('a, 'b) => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let log3: ('a, 'b, 'c) => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let log4: ('a, 'b, 'c, 'd) => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let logMany: array('a) => unit;\n")),(0,i.kt)("h2",l({},{id:"info"}),"info"),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let info: 'a => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let info2: ('a, 'b) => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let info3: ('a, 'b, 'c) => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let info4: ('a, 'b, 'c, 'd) => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let infoMany: array('a) => unit;\n")),(0,i.kt)("h2",l({},{id:"warn"}),"warn"),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let warn: 'a => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let warn2: ('a, 'b) => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let warn3: ('a, 'b, 'c) => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let warn4: ('a, 'b, 'c, 'd) => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let warnMany: array('a) => unit;\n")),(0,i.kt)("h2",l({},{id:"error"}),"error"),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let error: 'a => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let error2: ('a, 'b) => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let error3: ('a, 'b, 'c) => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let error4: ('a, 'b, 'c, 'd) => unit;\n")),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let errorMany: array('a) => unit;\n")),(0,i.kt)("h2",l({},{id:"trace"}),"trace"),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let trace: unit => unit;\n")),(0,i.kt)("h2",l({},{id:"timestart"}),"timeStart"),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let timeStart: string => unit;\n")),(0,i.kt)("h2",l({},{id:"timeend"}),"timeEnd"),(0,i.kt)("pre",null,(0,i.kt)("code",l({parentName:"pre"},{className:"language-re",metastring:"sig",sig:!0}),"let timeEnd: string => unit;\n")))}c.isMDXComponent=!0,c.frontmatter={__ghEditHref:"https://github.com/reason-association/rescript-lang.org/blob/master/pages/docs/manual/v8.0.0/api/js/console.mdx"}},62505:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/docs/manual/v8.0.0/api/js/console",function(){return n(69644)}])}},function(e){e.O(0,[92888,49774,40179],(function(){return t=62505,e(e.s=t);var t}));var t=e.O();_N_E=t}]);