Index: dbus/object_proxy.cc |
diff --git a/dbus/object_proxy.cc b/dbus/object_proxy.cc |
index e7d1f22f16243c2db1a095d2ce19d9a769bc0e03..a17e3b636e22d6fa691e00aba19552439d5c696a 100644 |
--- a/dbus/object_proxy.cc |
+++ b/dbus/object_proxy.cc |
@@ -571,11 +571,10 @@ void ObjectProxy::LogMethodCallFailure( |
// not errors. |
if (error_name == kErrorObjectUnknown) |
severity = logging::LOG_WARNING; |
- std::ostringstream msg; |
- msg << "Failed to call method: " << interface_name << "." << method_name |
- << ": object_path= " << object_path_.value() |
- << ": " << error_name << ": " << error_message; |
- logging::LogAtLevel(severity, msg.str()); |
+ LOG_AT_LEVEL(severity) << "Failed to call method: " << interface_name << "." |
danakj
2016/01/19 21:10:19
How about we delete the method in base and just ma
jbroman
2016/01/19 21:28:11
Done.
|
+ << method_name |
+ << ": object_path= " << object_path_.value() << ": " |
+ << error_name << ": " << error_message; |
} |
void ObjectProxy::OnCallMethodError(const std::string& interface_name, |