log.io icon indicating copy to clipboard operation
log.io copied to clipboard

is it possible to mount logio on an existing application?

Open bonesoul opened this issue 9 years ago • 3 comments

title says it :)

bonesoul avatar Nov 16 '16 14:11 bonesoul

Currently log.io is intended to be run as its own process, however it should be possible to modify it to be used as middleware by separate express app. Will flag as a feature request.

msmathers avatar Jan 12 '20 18:01 msmathers

app.use( logio({url:'/logview') ) would indeed be nice

coderofsalvation avatar Feb 25 '20 22:02 coderofsalvation

Ok, here's my attempt:

https://www.npmjs.com/package/express-logio

The idea is that the middleware also takes care of starting the log.io webserver. In other words: you don't need to run the webserver manually.

coderofsalvation avatar Feb 26 '20 11:02 coderofsalvation