int DemoComponent::HelloWorldRequestHandler(const NewRequestEventArgs& nrea)
{
- Application::Log("Got 'hello world' from address:" + nrea.Sender->GetAddress() + ", identity:" + nrea.Sender->GetIdentity());
+ Application::Log("Got 'hello world' from address=" + nrea.Sender->GetAddress() + ", identity=" + nrea.Sender->GetIdentity());
return 0;
}
int JsonRpcEndpoint::ClientClosedHandler(const EventArgs& ea)
{
- string address = GetAddress();
- Application::Log("Lost connection to endpoint: " + address);
+ Application::Log("Lost connection to endpoint: identity=" + GetIdentity());
m_PendingCalls.clear();