simplify config, export GlobalParams+GlobalSwitches

This commit is contained in:
Bradley Cicenas
2017-02-16 03:49:41 +00:00
parent 90f6ce3962
commit 5bbce31601
4 changed files with 42 additions and 45 deletions

View File

@@ -9,6 +9,7 @@ import (
var log *logging.CTopLogger
func main() {
config.Init()
log = logging.Init()
if config.GetSwitch("loggingEnabled") {
log.StartServer()