diff options
author | Florian Dold <florian@dold.me> | 2023-08-23 16:04:16 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-08-23 16:24:41 +0200 |
commit | 7fbe28e640d81f60b815ba123e30e97bc0747220 (patch) | |
tree | f728a0ef903d602ac9a2efc05318da394e496afd /packages/taler-util/src | |
parent | ef5962cd3c78eb273acb87fec6002ba6c52dc5b3 (diff) | |
download | wallet-core-7fbe28e640d81f60b815ba123e30e97bc0747220.tar.xz |
harness: reusable test env
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/logging.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-util/src/logging.ts b/packages/taler-util/src/logging.ts index c4b2a3da0..b14274560 100644 --- a/packages/taler-util/src/logging.ts +++ b/packages/taler-util/src/logging.ts @@ -32,13 +32,13 @@ export enum LogLevel { None = "none", } -export let globalLogLevel = LogLevel.Info; +let globalLogLevel = LogLevel.Info; +const byTagLogLevel: Record<string, LogLevel> = {}; export function setGlobalLogLevelFromString(logLevelStr: string): void { globalLogLevel = getLevelForString(logLevelStr); } -export const byTagLogLevel: Record<string, LogLevel> = {}; export function setLogLevelFromString(tag: string, logLevelStr: string): void { byTagLogLevel[tag] = getLevelForString(logLevelStr); } |