From dd8ac1fd2db4a3663aca03bac7b9e3932ef3441d Mon Sep 17 00:00:00 2001 From: Rafael Araujo Lehmkuhl Date: Wed, 22 Nov 2023 11:45:18 -0300 Subject: [PATCH] Start data logging on each boot --- src/App.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/App.vue b/src/App.vue index 0011e48f0..d9bcbbb1d 100644 --- a/src/App.vue +++ b/src/App.vue @@ -142,6 +142,7 @@ import Dialog from './components/Dialog.vue' import EditMenu from './components/EditMenu.vue' import MiniWidgetContainer from './components/MiniWidgetContainer.vue' import Alerter from './components/widgets/Alerter.vue' +import { datalogger } from './libs/logging' import { useWidgetManagerStore } from './stores/widgetManager' const widgetStore = useWidgetManagerStore() @@ -196,6 +197,9 @@ watch([() => widgetStore.currentView, () => widgetStore.currentView.showBottomBa const debouncedToggleBottomBar = useDebounceFn(() => (showBottomBarNow.value = !showBottomBarNow.value), 25) const bottomBarToggleCallbackId = registerActionCallback(CockpitAction.TOGGLE_BOTTOM_BAR, debouncedToggleBottomBar) onBeforeUnmount(() => unregisterActionCallback(bottomBarToggleCallbackId)) + +// Start datalogging +datalogger.startLogging()