mirror of
https://github.com/NarrativeScience-old/log.io.git
synced 2026-04-25 09:05:55 +03:00
[GH-ISSUE #186] is it possible to mount logio on an existing application? #152
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/log.io-NarrativeScience-old#152
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bonesoul on GitHub (Nov 16, 2016).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/186
title says it :)
@msmathers commented on GitHub (Jan 12, 2020):
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.
@coderofsalvation commented on GitHub (Feb 25, 2020):
app.use( logio({url:'/logview') )would indeed be nice@coderofsalvation commented on GitHub (Feb 26, 2020):
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.
globto allow for glob patterns in config. #251