Added niftylogger check
Fabio Cevasco h3rald@h3rald.com
Thu, 02 Nov 2017 08:19:24 +0100
1 files changed,
4 insertions(+),
1 deletions(-)
jump to
M
hastysite.nim
→
hastysite.nim
@@ -15,6 +15,7 @@
import packages/min/min, packages/min/packages/sha1/sha1, + packages/min/packages/niftylogger packages/hastyscribe/hastyscribe, packages/moustachu/src/moustachu@@ -367,7 +368,9 @@ when isMainModule:
import parseopt2 - + + if logging.getHandlers().len == 0: + newNiftyLogger().addHandler() setLogFilter(lvlNotice) proc usage(scripts: bool, hs: HastySite): string =