Logger for Hexo.
$ npm install hexo-log --save
const log = require('hexo-log')({
debug: false,
silent: false
})
log.info('Hello world');
Option | Description | Default |
---|---|---|
debug |
Display debug message. | false |
silent |
Don't display any message in console. | false |
MIT