Serial.print() is undefined in the Web Editor?

None of my Serial.print() calls compile. Here's just one of the multiple error messages:

/tmp/228432445/Controller_jan12a/Controller_jan12a.ino: In function 'void onIslandChange()':

/tmp/228432445/Controller_jan12a/Controller_jan12a.ino:64:26: error: no matching function for call to 'Serial_::println(CloudDimmedLight&)'

Serial.println(island) ;

The full code is here:

#include "thingProperties.h"

void setup() {
  // Initialize serial and wait for port to open:
  Serial.begin(9600);
  // This delay gives the chance to wait for a Serial Monitor without blocking if none is found
  delay(1500); 

  // Defined in thingProperties.h
  initProperties();

  // Connect to Arduino IoT Cloud
  ArduinoCloud.begin(ArduinoIoTPreferredConnection);
  
  /*
     The following function allows you to obtain more information
     related to the state of network and IoT Cloud connection and errors
     the higher number the more granular information you’ll get.
     The default is 0 (only errors).
     Maximum is 4
 */
  setDebugMessageLevel(2);
  ArduinoCloud.printDebugInfo();
}

void loop() {
  ArduinoCloud.update();
  // Your code here 
}
void onEntranceChange() { // boolean
  if(entrance){
  Serial.println("Entrance is ON") ;
  } else {
  Serial.println("Entrance is OFF") ;
  }
}
void onIslandChange() { // dimmed
    Serial.print("Island is dimmed at: ") ;
    Serial.println(island) ;
}
void onGarageChange() { // colored
  Serial.print("Garage is now: ") ;
  Serial.println(garage) ;
}

OK, by commenting out the print commands for "island" and "garage," I get a good compilation. Whatever type variable they are, they aren't bytes or ints or longs. I had previously posted a question on the structure of these variables, so I definitely need the definition of the variables that are attached to the Properties.

Dr_Quark:
I had previously posted a question on the structure of these variables, so I definitely need the definition of the variables that are attached to the Properties.

Dr_Quark's other topic is here:

Let's confine the discussion of the ArduinoCloudThing classes to that topic.

As for your specific goal here, you can do this:

    Serial.print("Island is dimmed at: ") ;
    Serial.println(island.getBrightness());

It looks like you already figured out the garage code in your other topic.