mirror of
https://github.com/codex-storage/nim-websock.git
synced 2025-02-02 05:44:53 +00:00
switch to isLogFormatUsed
This commit is contained in:
parent
78f2af5bac
commit
6de3895580
@ -15,8 +15,8 @@ import pkg/[
|
||||
chronicles,
|
||||
httputils]
|
||||
|
||||
#required to log addresses in chronicle's json mode
|
||||
import json_serialization/std/net
|
||||
when config.isLogFormatUsed(json):
|
||||
import json_serialization/std/net
|
||||
|
||||
|
||||
import ./common
|
||||
|
Loading…
x
Reference in New Issue
Block a user