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