logos-storage-nim/tests/logging_config.nim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
231 B
Nim
Raw Normal View History

when not defined(nimscript):
import pkg/chronicles
proc ignoreLogging(level: LogLevel, message: LogOutputStr) =
discard
defaultChroniclesStream.output.writer = ignoreLogging
{.warning[UnusedImport]: off.}
{.used.}