@k8slens/logger

Signed-off-by: Gabriel <gaccettola@mirantis.com>
This commit is contained in:
Gabriel authored and Sebastian Malton committed 2023-05-03 14:24:14 -07:00
1 parent 998cc36454
commit 66f28046b9
298 files changed
+549 -339

No files matched your search

+10 -1
View File
@@ -11,6 +11,7 @@ import { registerFeature } from "@k8slens/feature-core";
import { applicationFeature, startApplicationInjectionToken } from '@k8slens/application'
import { applicationFeatureForElectronMain } from '@k8slens/application-for-electron-main'
import { messagingFeatureForMain } from "@k8slens/messaging-for-main";
import { loggerFeature } from "@k8slens/logger";
const environment = "main";
@@ -23,7 +24,15 @@ registerMobX(di);
runInAction(() => {
registerLensCore(di, environment);
registerFeature(di, applicationFeature, applicationFeatureForElectronMain, messagingFeatureForMain);
registerFeature(di,
loggerFeature,
);
registerFeature(di,
applicationFeature,
applicationFeatureForElectronMain,
messagingFeatureForMain,
);
try {
autoRegister({
+6
View File
@@ -22,6 +22,7 @@ import { messagingFeatureForRenderer } from "@k8slens/messaging-for-renderer";
import { keyboardShortcutsFeature } from "@k8slens/keyboard-shortcuts";
import { reactApplicationFeature } from "@k8slens/react-application";
import { routingFeature } from "@k8slens/routing";
import { loggerFeature } from "@k8slens/logger";
const environment = "renderer";
@@ -34,6 +35,11 @@ runInAction(() => {
registerInjectableReact(di);
registerLensCore(di, environment);
registerFeature(
di,
loggerFeature,
);
registerFeature(
di,
applicationFeature,