Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(761)

Unified Diff: runtime/bin/dbg_connection_linux.cc

Issue 11312242: Revised CL for customisable logging (replacing printfs). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/dbg_connection_linux.cc
===================================================================
--- runtime/bin/dbg_connection_linux.cc (revision 14903)
+++ runtime/bin/dbg_connection_linux.cc (working copy)
@@ -9,6 +9,7 @@
#include "bin/dbg_connection.h"
#include "bin/fdutils.h"
+#include "bin/log.h"
#include "bin/socket.h"
int DebuggerConnectionImpl::epoll_fd_ = -1;
@@ -32,7 +33,7 @@
// Sync message. Not yet implemented.
UNIMPLEMENTED();
} else {
- printf("unexpected: receiving debugger connection event.\n");
+ Log::Print("unexpected: receiving debugger connection event.\n");
UNIMPLEMENTED();
}
}

Powered by Google App Engine
This is Rietveld 408576698