From 46835d5155a561ddf9f3e21bbb81c823c3eab943 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Wed, 7 Dec 2022 16:07:42 -0300
Subject: no-fix: user logger instead of console.log

---
 packages/demobank-ui/src/components/app.tsx | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'packages/demobank-ui/src/components/app.tsx')

diff --git a/packages/demobank-ui/src/components/app.tsx b/packages/demobank-ui/src/components/app.tsx
index b6b88f910..07ac9b8f3 100644
--- a/packages/demobank-ui/src/components/app.tsx
+++ b/packages/demobank-ui/src/components/app.tsx
@@ -1,3 +1,7 @@
+import {
+  globalLogLevel,
+  setGlobalLogLevelFromString,
+} from "@gnu-taler/taler-util";
 import { h, FunctionalComponent } from "preact";
 import { BackendStateProvider } from "../context/backend.js";
 import { PageStateProvider } from "../context/pageState.js";
@@ -32,5 +36,9 @@ const App: FunctionalComponent = () => {
     </TranslationProvider>
   );
 };
+(window as any).setGlobalLogLevelFromString = setGlobalLogLevelFromString;
+(window as any).getGlobaLevel = () => {
+  return globalLogLevel;
+};
 
 export default App;
-- 
cgit v1.2.3

