Index: remoting/host/host_event_logger_win.cc |
diff --git a/remoting/host/host_event_logger_win.cc b/remoting/host/host_event_logger_win.cc |
index a9e22adb608bfa50100fb47f023edecf60df74d6..acd6aaf804f5fe52fb63a9f9d8e3f2fd5b03645d 100644 |
--- a/remoting/host/host_event_logger_win.cc |
+++ b/remoting/host/host_event_logger_win.cc |
@@ -65,8 +65,7 @@ HostEventLoggerWin::HostEventLoggerWin(base::WeakPtr<HostStatusMonitor> monitor, |
if (event_log_ != NULL) { |
monitor_->AddStatusObserver(this); |
} else { |
- LOG_GETLASTERROR(ERROR) << "Failed to register the event source: " |
- << application_name; |
+ PLOG(ERROR) << "Failed to register the event source: " << application_name; |
} |
} |
@@ -135,7 +134,7 @@ void HostEventLoggerWin::Log(WORD type, |
0, |
&raw_strings[0], |
NULL)) { |
- LOG_GETLASTERROR(ERROR) << "Failed to write an event to the event log"; |
+ PLOG(ERROR) << "Failed to write an event to the event log"; |
} |
} |