tcmd/tor-dam: Use fmt rather than log to print JSON struct on the end. - tordam - A library for peer discovery inside the Tor network HTML git clone https://git.parazyd.org/tordam DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit eca3d9c1d7190ea13055a0c94d5dda526abc4439 DIR parent 20f2910bfa1868f07d755b58d1de1d2a1f82f6db HTML Author: parazyd <parazyd@dyne.org> Date: Mon, 29 Mar 2021 23:07:44 +0200 cmd/tor-dam: Use fmt rather than log to print JSON struct on the end. Diffstat: M cmd/tor-dam/tor-dam.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/cmd/tor-dam/tor-dam.go b/cmd/tor-dam/tor-dam.go t@@ -209,5 +209,5 @@ func main() { // Marshal the global Peers map to JSON and print it out. j, _ := json.Marshal(tordam.Peers) - log.Println(string(j)) + fmt.Println(string(j)) }