The context object provides access to a logger that you can use for debugging and monitoring.

// In local functions
context.logger.log("Processing request");
context.logger.error("An error occurred");
context.logger.warn("Warning message");

context.logger has the following limitations: