| Index: chrome/browser/sync_file_system/logger.cc
|
| diff --git a/chrome/browser/sync_file_system/logger.cc b/chrome/browser/sync_file_system/logger.cc
|
| index 7e5e628aaa001c774c5689e8940f45f3419a8976..4f4bede73c6e54eae65c0e836fe07c639736b469 100644
|
| --- a/chrome/browser/sync_file_system/logger.cc
|
| +++ b/chrome/browser/sync_file_system/logger.cc
|
| @@ -54,7 +54,9 @@ void Log(logging::LogSeverity severity,
|
| // On thread-safety: LazyInstance guarantees thread-safety for the object
|
| // creation. EventLogger::Log() internally maintains the lock.
|
| drive::EventLogger* ptr = g_logger.Pointer();
|
| - ptr->Log("[%s] %s", LogSeverityToString(severity), what.c_str());
|
| + ptr->Log(severity, base::StringPrintf("[%s] %s",
|
| + LogSeverityToString(severity),
|
| + what.c_str()));
|
|
|
| // Log to console if the severity is at or above the min level.
|
| // LOG_VERBOSE logs are also output if the verbosity of this module
|
|
|