API v2.4 Release Notes

This version of the API shipped with Indigo 7.5.0 - check the API Version Chart to see what version of the API is available in which Indigo versions.

import logging
indigo.server.log("info log message which will show in black text", level=logging.INFO)
indigo.server.log("warning log message which will show in orange text", level=logging.WARNING)
indigo.server.log("error log message which will show in red text", level=logging.ERROR)

# Equivalent of above server API calls that instead use the plugin instances default logger instance:
self.logger.info("info log message which will show in black text")
self.logger.warn("warning log message which will show in orange text")
self.logger.error("error log message which will show in red text")