How to view log?

I feel like this must be documented somewhere or at least to be found in this forum, but I simply cannot figure this out.

I do not understand how to view (via the dashboard or any other method at all) items logged via the CAYENNE_LOG() function.

In my sketch I am doing what I believe to be the simplest of all cases:

if (isnan(temp_f)) {
CAYENNE_LOG(“Failed to read temperature from DHT sensor!”);
return;
}

But I cannot understand how to view this log data.

Sorry if this is clearly discussed somewhere else, but I cannot find it.

TIA for any help.

RS

Welcome to the cayenne community @robert.k.shields . check your serial monitor for the log data.

@shramik_salgaonkar, thank you for the reply. I was expecting the CAYENNE_LOG function to send log data to Cayenne server (to somehow be viewed via the dashboard was my hope).

But if that is not true, then what is the use case for CAYENNE_LOG versus simply doing normal serial output to the console?

it is an inbuilt function to print the incoming message from the serve.

	CAYENNE_LOG("Channel %u, value %s", request.channel, getValue.asString());
	//Process message here. If there is an error set an error message using getValue.setError(), e.g getValue.setError("Error message");