egg-logview
Provide a log files viewer for egg development purpose.
Last updated 6 years ago by atian25 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install egg-logview 
SYNC missed versions from official npm registry.

egg-logview

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Provide a log files viewer for development purpose.

Install

$ npm i egg-logview --save

Usage

// {app_root}/config/plugin.js
exports.logview = {
  package: 'egg-logview',
  // env: ['local', 'default', 'test', 'unittest']
};

Configuration

// {app_root}/config/config.default.js
/**
 * logview default config
 * @member Config#logview
 * @property {String} prefix - logview route prefix, default to `__logs`
 * @property {String} dir - logview dir, default to `app.config.logger.dir`
 */
exports.logview = {
};

Example

Visit http://127.0.0.1:7001/__logs

Questions & Suggestions

Please open an issue here.

License

MIT

Current Tags

  • 2.0.1                                ...           latest (6 years ago)

5 Versions

  • 2.0.1                                ...           6 years ago
  • 2.0.0                                ...           8 years ago
  • 1.0.1                                ...           8 years ago
  • 1.0.0                                ...           9 years ago
  • 0.0.1                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |