hexo/node_modules/hexo-generator-baidu-sitemap/node_modules/hexo-log
jkjoy 9a9cb42f53 20231003 update 2023-10-03 11:14:36 +08:00
..
lib 20231003 update 2023-10-03 11:14:36 +08:00
node_modules 20231003 update 2023-10-03 11:14:36 +08:00
.eslintignore 20231003 update 2023-10-03 11:14:36 +08:00
.eslintrc 20231003 update 2023-10-03 11:14:36 +08:00
.jscsrc 20231003 update 2023-10-03 11:14:36 +08:00
.npmignore 20231003 update 2023-10-03 11:14:36 +08:00
LICENSE 20231003 update 2023-10-03 11:14:36 +08:00
README.md 20231003 update 2023-10-03 11:14:36 +08:00
package.json 20231003 update 2023-10-03 11:14:36 +08:00

README.md

hexo-log

Build Status NPM version Coverage Status

Logger for Hexo, based on bunyan with better console output.

Installation

$ npm install hexo-log --save

Usage

var log = require('hexo-log')({
  debug: false,
  silent: false
});

log.info('Hello world');
Option Description Default
debug Display debug message and save log to debug.log file. false
silent Don't display message in console. false
name Name hexo

License

MIT