switch to isLogFormatUsed

This commit is contained in:
Tanguy Cizain 2021-06-25 18:03:37 +02:00
parent 78f2af5bac
commit 6de3895580
No known key found for this signature in database
GPG Key ID: B88D312FB0C84FA5
1 changed files with 2 additions and 2 deletions

View File

@ -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