From 8181df314078144af83c263a020eeaece3de6190 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sat, 4 May 2019 10:58:57 +0300 Subject: [PATCH] Re-hide debug logs by default --- src/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/index.ts b/src/index.ts index d7828311..bf7215ab 100644 --- a/src/index.ts +++ b/src/index.ts @@ -184,6 +184,12 @@ connect().then(async conn => { return yaml.safeLoad(yamlString); }, + logFn: (level, msg) => { + if (level === "debug") return; + // tslint:disable-next-line + console.log(`[${level.toUpperCase()}] ${msg}`); + }, + performanceDebug: { enabled: false, size: 30,