/* * Sends reopen request to the current query logger. It is useful for * rotating log file. * * @overload reopen * @return void */ static VALUE rb_grn_query_logger_s_reopen (VALUE klass) { VALUE rb_context = Qnil; grn_ctx *context; context = rb_grn_context_ensure(&rb_context); grn_query_logger_reopen(context); rb_grn_context_check(context, klass); return Qnil; }
void grn_log_reopen(grn_ctx *ctx) { grn_logger_reopen(ctx); grn_query_logger_reopen(ctx); }