Merge "minadbd: move from D() to VLOG()."

This commit is contained in:
Yabin Cui 2015-09-23 23:05:32 +00:00 committed by Gerrit Code Review
commit 3317d50179
2 changed files with 2 additions and 5 deletions

View file

@ -19,8 +19,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#define TRACE_TAG TRACE_ADB
#include "sysdeps.h" #include "sysdeps.h"
#include "adb.h" #include "adb.h"
@ -38,7 +36,7 @@ int adb_main(int is_daemon, int server_port, int /* reply_fd */) {
init_transport_registration(); init_transport_registration();
usb_init(); usb_init();
D("Event loop starting\n"); VLOG(ADB) << "Event loop starting";
fdevent_loop(); fdevent_loop();
return 0; return 0;

View file

@ -23,7 +23,6 @@
#include "sysdeps.h" #include "sysdeps.h"
#define TRACE_TAG TRACE_SERVICES
#include "adb.h" #include "adb.h"
#include "fdevent.h" #include "fdevent.h"
#include "fuse_adb_provider.h" #include "fuse_adb_provider.h"
@ -82,7 +81,7 @@ static int create_service_thread(void (*func)(int, void *), void *cookie) {
return -1; return -1;
} }
D("service thread started, %d:%d\n",s[0], s[1]); VLOG(SERVICES) << "service thread started, " << s[0] << ":" << s[1];
return s[0]; return s[0];
} }