Adds ability to set log level from toml or CLI args

This commit is contained in:
Andrew J Yao
2019-06-27 11:14:11 -07:00
parent f0a7a7d999
commit 11a65c525c
8 changed files with 38 additions and 16 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ func fullSync() {
if err != nil {
log.Error("fullSync: error in validateBlocks: ", err)
}
log.Info(window.GetString())
log.Debug(window.GetString())
case <-missingBlocksPopulated:
go backFillAllBlocks(blockChain, blockRepository, missingBlocksPopulated, startingBlockNumber)
}