From d2bb50addaf1f49512cfc6e4405ab68e1e9bb68c Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Sat, 20 Aug 2022 12:34:36 +1000 Subject: [PATCH] test: doc specifies log level capitalized --- src/test_utils/nwaku.node.spec.ts | 2 +- src/test_utils/nwaku.ts | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/test_utils/nwaku.node.spec.ts b/src/test_utils/nwaku.node.spec.ts index cae43837ad..d2f7e05222 100644 --- a/src/test_utils/nwaku.node.spec.ts +++ b/src/test_utils/nwaku.node.spec.ts @@ -16,7 +16,7 @@ describe("nwaku", () => { "--rpc=true", "--rpc-admin=true", "--websocket-support=true", - "--log-level=debug", + "--log-level=DEBUG", "--ports-shift=42", ]; diff --git a/src/test_utils/nwaku.ts b/src/test_utils/nwaku.ts index f088ab50de..e98044b4f8 100644 --- a/src/test_utils/nwaku.ts +++ b/src/test_utils/nwaku.ts @@ -56,13 +56,13 @@ export interface Args { } export enum LogLevel { - Error = "error", - Info = "info", - Warn = "warn", - Debug = "debug", - Trace = "trace", - Notice = "notice", - Fatal = "fatal", + Error = "ERROR", + Info = "INFO", + Warn = "WARN", + Debug = "DEBUG", + Trace = "TRACE", + Notice = "NOTICE", + Fatal = "FATAL", } export interface KeyPair {