Module: Ilios::Cassandra

Defined in:
ext/ilios/ilios.c

Defined Under Namespace

Classes: Cluster, ConnectError, ExecutionError, Future, Result, Session, Statement, StatementError

Constant Summary collapse

LOG_DISABLED =
INT2NUM(CASS_LOG_DISABLED)
LOG_CRITICAL =
INT2NUM(CASS_LOG_CRITICAL)
LOG_ERROR =
INT2NUM(CASS_LOG_ERROR)
LOG_WARN =
INT2NUM(CASS_LOG_WARN)
LOG_INFO =
INT2NUM(CASS_LOG_INFO)
LOG_DEBUG =
INT2NUM(CASS_LOG_DEBUG)
LOG_TRACE =
INT2NUM(CASS_LOG_TRACE)

Class Method Summary collapse

Class Method Details

.log_level(log_level) ⇒ Cassandra

Sets the log level. Default is LOG_ERROR.

Returns:



67
68
69
70
71
# File 'ext/ilios/ilios.c', line 67

static VALUE cassandra_set_log_level(VALUE self, VALUE log_level)
{
    cass_log_set_level(NUM2INT(log_level));
    return self;
}