diff options
author | Ben Sima <ben@bsima.me> | 2022-08-02 13:40:13 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2022-08-02 13:40:13 -0400 |
commit | 0a003c3303cf01744436cdf94a36bc73f196e353 (patch) | |
tree | 5a5860148abe90df04d9d5c9d10a53521044fe42 /Biz/Log.hs | |
parent | 0727ad4ea80991e2fb104090b6d922557bbea281 (diff) |
Simplify analyze code a bit more
Diffstat (limited to 'Biz/Log.hs')
-rw-r--r-- | Biz/Log.hs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -9,6 +9,7 @@ module Biz.Log info, warn, fail, + wipe, -- * Debugging mark, @@ -72,6 +73,9 @@ gap = ": " br :: IO () br = Rainbow.hPutChunks stderr ["\n"] >> IO.hFlush stderr +wipe :: IO () +wipe = hPutStr stderr ("\r" :: Text) >> IO.hFlush stderr + good, pass, info, warn, fail :: [Text] -> IO () good = msg Good pass = msg Pass |