febfeb / node-logger

a node.js based simple log application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node Logger

A Node.js based simple log application.

NodeLogger use the advantages of node.js and socket.io. It also can be used to trace/debug our application without waiting out application to end/terminate.

This tool is very useful when your application doesn't allow you to echo-ing a single character, or you have to keep your application run without output interference.

To start this service, you can type this in terminal :

$ yarn
$ node index.js

Then, please open your browser at http://localhost:1337.

You can use my simple php class inside php-sample folder. Code usage :

NodeLogger::sendLog($yourVariable);

Code usage inside php loop :

for($i=0;$i<100;$i++){
	echo "\$i value : ".$i;
	NodeLogger::sendLog($i);
}

About

a node.js based simple log application

License:GNU General Public License v2.0


Languages

Language:PHP 42.0%Language:HTML 38.6%Language:JavaScript 19.3%