2.1.3 • Published 4 years ago

jsreport-debug v2.1.3

Weekly downloads
1,225
License
MIT
Repository
github
Last release
4 years ago

jsreport-debug

NPM Version Build Status

jsreport extension collecting and serving logs

Installation

npm install jsreport-debug

Usage

Display logs in jsreport studio

debug

Display logs in the response stream

POST: /api/report BODY:

  { 
     "template": { },    
     "options": { "debug": { "logsToResponse": true } }
  } 

Serve logs in response header

POST: /api/report BODY:

  { 
     "template": { },    
     "options": { "debug": { "logsToResponseHeader": true } }
  } 

The logs are then serverd in response header Debug-Logs.

Get logs for particular request within node.js

jsreport.render({...}).then(function(response) {
  response.logs
})

jsreport-core

var jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-debug')())

License

MIT

2.1.3

4 years ago

2.1.2

4 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.1.0

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.1.1

8 years ago