# 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:
  - robot.js, line 217
See:
  - https://github.com/mikedeboer/node-github

#### 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:
  - robot.js, line 226

##### 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!");

#### payload

A GitHub webhook event payload

Source:
  - robot.js, line 211