I found this support page for logging (How Do I Collect Trace Logs From My Device? – Particle Support), but I wonder if there’s a way to log and receive those logs without a USB connection.
I’m currently using
Serial.printlnf(...) to log/debug my application and want to continue doing so when the device is not connected to my computer (when it’s deployed). It’d be great if I could use a command line tool like particle-cli (similar to the command
particle serial monitor --follow which is what I am using to receive the Serial.printlnf() messages with the photon connected through USB).
I had a look around in the docs, but couldn’t find anything suitable (except for the cloud event system, but I find that’s too “high-level”).