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…
Reference in New Issue