From 16ca76c2e7ab287e480185fbb03a0bb438351eda Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 23 Jan 2017 12:35:14 -0500 Subject: Make log system use newer format strings Also allow log messages to be translatable --- modules/xmlrpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/xmlrpc.cpp') diff --git a/modules/xmlrpc.cpp b/modules/xmlrpc.cpp index 41bbfce0a..43d5c48f1 100644 --- a/modules/xmlrpc.cpp +++ b/modules/xmlrpc.cpp @@ -162,7 +162,7 @@ class MyXMLRPCServiceInterface : public XMLRPCServiceInterface, public HTTPPage while (GetData(content, tname, data)) { - Log(LOG_DEBUG) << "m_xmlrpc: Tag name: " << tname << ", data: " << data; + this->GetOwner()->logger.Debug("Tag name: {0}, data: {1}", tname, data); if (tname == "methodName") request.name = data; else if (tname == "name" && data == "id") -- cgit