nim-eth/tests/stubloglevel.nim
Kim De Mey 86b37bf72e
Default compile all tests and binaries with TRACE log level (#549)
In order to avoid unused warning and more importantly to make
sure all log statements work.
2022-11-10 09:01:58 +01:00

6 lines
93 B
Nim

import chronicles
{.used.}
when defined(chronicles_runtime_filtering):
setLogLevel(ERROR)