JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 34459
  • Score
    100M100P100Q148268F
  • License MIT

Logger for Hexo

Package Exports

  • hexo-log

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hexo-log) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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