mirror of
https://github.com/logos-storage/nim-json-rpc.git
synced 2026-04-26 14:03:50 +00:00
Temporarily disable logging to make tests green
This commit is contained in:
parent
a79351cbd7
commit
5a5032a904
@ -1,11 +1,16 @@
|
||||
import json, tables, strutils, options, macros, chronicles
|
||||
import json, tables, strutils, options, macros #, chronicles
|
||||
import asyncdispatch2
|
||||
import jsonmarshal
|
||||
|
||||
export asyncdispatch2, json, jsonmarshal
|
||||
|
||||
logScope:
|
||||
topics = "RpcServer"
|
||||
# Temporarily disable logging
|
||||
macro debug(body: varargs[untyped]): untyped = newStmtList()
|
||||
macro info(body: varargs[untyped]): untyped = newStmtList()
|
||||
macro error(body: varargs[untyped]): untyped = newStmtList()
|
||||
|
||||
#logScope:
|
||||
# topics = "RpcServer"
|
||||
|
||||
type
|
||||
RpcJsonError* = enum rjeInvalidJson, rjeVersionError, rjeNoMethod, rjeNoId
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user