Yuga Sun d5ee048b3e feat: add logger system (#40) and close #26
* feat: fix some eslint bug

* feat: add logger system feature close #26

* feat: divide log into different types

* fix: errors log write bug

* fix: remove unuse console.log

* feat: add pm2 support

* feat: make logger type configurable

* fix: remove unuse test code
2017-11-02 21:54:31 +08:00

11 lines
322 B
Plaintext
Executable File

# rename this file to .env
# Bot's personal access tokens, get from https://github.com/settings/tokens
GITHUB_TOKEN=token
# Webhook secret token, see https://developer.github.com/webhooks/securing/
GITHUB_SECRET_TOKEN=secret
# Logger type: default is console, if you want write log to file, set 'file'
LOG_TYPE=console