Sasha Grievus
Sasha Grievus

Reputation: 2686

How to log to web page in node.js?

There is a simple way in a node.js application to log and display the result in real time in an html web page?

I have to build a 'monitor' for my application and I would like to see what is happening consulting a well formatted web page. I can display the page with express

app.use(express.static('monitor'));

but I am not sure about the best way to send data to it.

Upvotes: 1

Views: 1614

Answers (1)

danilodeveloper
danilodeveloper

Reputation: 3880

To monitor logs in real time, you can try to use the Scribe.js. Live demo is here

Upvotes: 1

Related Questions