all repos — hastysite @ 88470f5aa346fe8dd8f793cc1405f1540520085b

A high-performance static site generator.

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

88470f5aa346fe8dd8f793cc1405f1540520085b

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 =