eggjs/egg-logview

Name: egg-logview

Owner: egg

Description: Provide a log files viewer for development purpose.

Created: 2016-11-17 08:20:28.0

Updated: 2018-03-21 12:39:12.0

Pushed: 2018-02-26 06:57:50.0

Homepage: null

Size: 233

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

egg-logview

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

Provide a log files viewer for development purpose.

Install
m i egg-logview --save
Usage
app_root}/config/plugin.js
rts.logview = {
ckage: 'egg-logview',
 env: ['local', 'default', 'test', 'unittest']

Configuration
app_root}/config/config.default.js

ogview 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`

rts.logview = {

Example

Visit http://127.0.0.1:7001/__logs

Questions & Suggestions

Please open an issue here.

License

MIT


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.