logos-storage-nim/tests/logging.nim

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

11 lines
237 B
Nim
Raw Normal View History

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