Skip to content

Commit

Permalink
Simulate log-print.
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch committed Jan 23, 2024
1 parent 5f2a2c2 commit 8017b99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/jag/commands/proxy_network.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ func runProxyServer(ud *uartDevice, identity *uartIdentity) error {
}
})

// TODO(florian): this print should be a log.
fmt.Printf("Proxying device %s through 'http://%s:%d'.\n", identity.Name, localIP, localPort)
// Simulate a log print from the device.
fmt.Printf("[jaguar.uart] INFO: running Jaguar device '%s' (id: '%s'), proxied through 'http://%s:%d'.\n", identity.Name, identity.Id, localIP, localPort)
err = broadcastIdentity(identityPayload)
if err != nil {
return err
Expand Down

0 comments on commit 8017b99

Please sign in to comment.