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
@@ -88,7 +88,7 @@ func headerSync() {
if err != nil {
log.Error("headerSync: ValidateHeaders failed: ", err)
}
log.Info(window.GetString())
log.Debug(window.GetString())
case n := <-missingBlocksPopulated:
if n == 0 {
time.Sleep(3 * time.Second)