Log.x question

What are the functional differences: log.trace, log.debug, log.info?

these are literally just different labels put to indicate the "severity" of a given message. Trace is generally most verbose, followed by debug, and then info

Thanks. I see, they are just labels displayed on the Logs page. I thought maybe there is a difference; for example, log.debug enabled a debugging feature such as a variable dump. Appropriate use of the “level” is then the driver/app author’s responsibility.
Image from https://community.hubitat.com/t/how-to-troubleshoot-using-the-logs/3425:
image

Nope - no special feature embedded in any log level, you have to add whatever data you want in the log message

1 Like