Skip to content

Commit

Permalink
fix: Embed-widget not setting log level on init
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrunyon committed Nov 26, 2024
1 parent 414e652 commit 586ffb0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/embed-widget/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 586ffb0

Please sign in to comment.