Files
probot/test/fixtures/example.js
Brandon Keepers c5a0c5956c Add context.log to add event context to each log message (#321)
* Add logger on context.log

* Update robot.log instances in docs

* Add more event context
2017-11-21 12:31:55 -06:00

8 lines
146 B
JavaScript

module.exports = robot => {
robot.log('loaded app')
robot.on('issue_comment.created', context => {
context.log('Comment created')
})
}