Esempio n. 1
0
static void
php_cassandra_log_initialize()
{
  uv_rwlock_init(&log_lock);
  cass_log_set_level(CASS_LOG_ERROR);
  cass_log_set_callback(php_cassandra_log, NULL);
}
Esempio n. 2
0
 CassLog() {
   // Set the maximum log level we'll just ignore anthing
   // that's not relevant.
   cass_log_set_level(CASS_LOG_TRACE);
   cass_log_set_callback(CassLog::callback, &CassLog::log_data_);
 }