Merge branch 'loglevel'

This commit is contained in:
Ștefan Talpalaru 2019-03-13 12:26:56 +01:00
commit 7da77615ee
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 4 additions and 2 deletions

View File

@ -36,8 +36,10 @@ ifeq ($(V), 0)
HANDLE_OUTPUT := &>/dev/null HANDLE_OUTPUT := &>/dev/null
endif endif
# Chronicles log level # Chronicles log level
LOG_LEVEL := DEBUG LOG_LEVEL :=
ifdef LOG_LEVEL
NIM_PARAMS := $(NIM_PARAMS) -d:chronicles_log_level=$(LOG_LEVEL) NIM_PARAMS := $(NIM_PARAMS) -d:chronicles_log_level=$(LOG_LEVEL)
endif
#- forces a rebuild of csources, Nimble and a complete compiler rebuild, in case we're called after pulling a new Nim version #- forces a rebuild of csources, Nimble and a complete compiler rebuild, in case we're called after pulling a new Nim version
#- uses our Git submodules for csources and Nimble (Git doesn't let us place them in another submodule) #- uses our Git submodules for csources and Nimble (Git doesn't let us place them in another submodule)