diff --git a/packages/embed-widget/src/index.tsx b/packages/embed-widget/src/index.tsx index e4a93e8334..0e9cf98ce7 100644 --- a/packages/embed-widget/src/index.tsx +++ b/packages/embed-widget/src/index.tsx @@ -3,8 +3,14 @@ import ReactDOM from 'react-dom'; import '@deephaven/components/scss/BaseStyleSheet.scss'; // Do NOT move any lower. This needs to be imported before any other styles import { LoadingOverlay, preloadTheme } from '@deephaven/components'; import { ApiBootstrap } from '@deephaven/jsapi-bootstrap'; +import { logInit } from '@deephaven/log'; import './index.scss'; +logInit( + parseInt(import.meta.env.VITE_LOG_LEVEL ?? '2', 10), + import.meta.env.VITE_ENABLE_LOG_PROXY === 'true' +); + preloadTheme(); // Lazy load components for code splitting and also to avoid importing the jsapi-shim before API is bootstrapped.