mirror of
https://github.com/logos-storage/nim-websock.git
synced 2026-01-05 07:03:10 +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