Global

Type Definitions

github

the github Node.js module, which wraps the GitHub API and allows you to do almost anything programmatically that you can do through a web browser.

Source:
See:

logger

A logger backed by bunyan

The default log level is debug, but you can change it by setting the LOG_LEVEL environment variable to trace, info, warn, error, or fatal.

Source:
Example
robot.log("This is a debug message");
robot.log.debug("…so is this");
robot.log.trace("Now we're talking");
robot.log.info("I thought you should know…");
robot.log.warn("Woah there");
robot.log.error("ETOOMANYLOGS");
robot.log.fatal("Goodbye, cruel world!");

Note: Probot supports execption tracking through raven, a client for
[sentry](https://github.com/getsentry/sentry). If the `SENTRY_DSN` is set
as an environment variable, all errors will be forwarded to the sentry host
specified by the environment variable.

payload

Source: