From 7938929a227623cb2f62d5c190804c2fbd236dd2 Mon Sep 17 00:00:00 2001 From: Gordon Tisher Date: Fri, 15 Dec 2023 08:52:59 -0800 Subject: [PATCH] Disable debug spam by default --- VERSION | 2 +- corral.json | 2 +- kiuatan/_dbg.pony | 20 +++++++++++--------- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/VERSION b/VERSION index c9929e3..3c80e4f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.4.2 \ No newline at end of file +1.4.3 \ No newline at end of file diff --git a/corral.json b/corral.json index 3f48c01..5ca8c6c 100644 --- a/corral.json +++ b/corral.json @@ -5,7 +5,7 @@ "homepage": "https://github.com/chalcolith/kiuatan", "documentation_url": "https://chalcolith.github.io/kiuatan/kiuatan--index/", "license": "MIT", - "version": "1.4.2" + "version": "1.4.3" }, "deps": [] } diff --git a/kiuatan/_dbg.pony b/kiuatan/_dbg.pony index 3479ec3..3d7fc1c 100644 --- a/kiuatan/_dbg.pony +++ b/kiuatan/_dbg.pony @@ -3,12 +3,14 @@ use "collections" primitive _Dbg fun out(depth: USize, msg: String) => - let indent = - recover val - let indent' = String(depth * 2) - for i in Range(0, depth * 2) do - indent'.push(' ') - end - indent' - end - Debug.out(indent + msg) + // // Uncomment to get lots of debug output + // let indent = + // recover val + // let indent' = String(depth * 2) + // for i in Range(0, depth * 2) do + // indent'.push(' ') + // end + // indent' + // end + // Debug.out(indent + msg) + None