remove some logging

This commit is contained in:
brianc 2011-02-22 23:55:06 -06:00
parent b9296c54e2
commit c945b9dffe

View File

@ -5,7 +5,7 @@
#include <stdlib.h>
#define LOG(msg) printf("%s\n",msg)
#define TRACE(msg) printf("%s\n", msg);
#define TRACE(msg) //printf("%s\n", msg);
#define THROW(msg) return ThrowException(Exception::Error(String::New(msg)));
@ -154,7 +154,7 @@ protected:
if (!connection_) {
LOG("Connection couldn't be created");
} else {
LOG("Connect created");
TRACE("Connect created");
}
if (PQsetnonblocking(connection_, 1) == -1) {
@ -179,7 +179,7 @@ protected:
assert(PQisnonblocking(connection_));
LOG("Setting watchers to socket");
TRACE("Setting watchers to socket");
ev_io_set(&read_watcher_, fd, EV_READ);
ev_io_set(&write_watcher_, fd, EV_WRITE);