all repos — hastysite @ 94c268759edcb7b24664b9c0212e7328a18da926

A high-performance static site generator.

Added niftylogger check
Fabio Cevasco h3rald@h3rald.com
Thu, 02 Nov 2017 08:19:24 +0100
commit

94c268759edcb7b24664b9c0212e7328a18da926

parent

6b4b057d363e58f7b7d9945df87b8536a24cec8f

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M hastysite.nimhastysite.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 =