Index: chrome/browser/sync_file_system/drive_file_sync_util.cc |
diff --git a/chrome/browser/sync_file_system/drive_file_sync_util.cc b/chrome/browser/sync_file_system/drive_file_sync_util.cc |
index abd2998b9d55fd2aa13867d50ce7584aebb154f9..7c69a196d7e8e62a1c4d6574823b5557c8deb38f 100644 |
--- a/chrome/browser/sync_file_system/drive_file_sync_util.cc |
+++ b/chrome/browser/sync_file_system/drive_file_sync_util.cc |
@@ -6,6 +6,7 @@ |
#include "base/command_line.h" |
#include "base/logging.h" |
+#include "chrome/browser/sync_file_system/logger.h" |
namespace sync_file_system { |
@@ -77,7 +78,10 @@ SyncStatusCode GDataErrorCodeToSyncStatusCode( |
if (error == -1) |
return SYNC_STATUS_NETWORK_ERROR; |
- LOG(WARNING) << "Got unexpected error: " << error; |
+ util::Log(logging::LOG_WARNING, |
+ FROM_HERE, |
+ "Got unexpected error: %d", |
+ static_cast<int>(error)); |
return SYNC_STATUS_FAILED; |
} |