Grammar/Base: cache $log->is_debug and use $self->_context