debug_level= (Fam::Connection)

    /*
     * Set the debug level of a Fam::Connection object.
     *
     * Raises a Fam::Error exception on failure.  Note that this method does
     * not exist under Gamin.
     *
     * Aliases:
     *   Fam::Connection#debug
     *
     * Examples:
     *   fam.debug = Fam::Debug::VERBOSE
     *
     */
    static VALUE fam_conn_set_debug(VALUE self, VALUE level)
    {
      FAMConnection *conn;
      int err;

      Data_Get_Struct(self, FAMConnection, conn);

      err = FAMDebugLevel(conn, NUM2INT(level));

      if (err == -1) {
        rb_raise(eError, "Couldn't set debug level: %s", fam_error());
      }

      return self;
    }