Logged

Logged is a real time logging application some features.

  • No Database
  • Real Time Logging
  • No Login

Live - http://logged.herokuapp.com

The point of this application can is to logged stuff when your debugging with having to read a .log file which has to deleted when you’re done with it so next you don’t have to go through some previous logs.

Getting started

Github - https://github.com/pasindud/logged

You can also browse to http://logged.herokuapp.com/something to make your own custom path can be anything more unique the better.

next from your preferred programming language POST the following to your previously custom url created

{ log:" { your log details } " , time:"the log time here", level : " log level INFO || WARNING " }

Sample PHP snippet

```

 $log=array("log"=>"Logges Here","level"=>"1002","time"=>"12.1002");

 sendrequestLogged( json_encode($log));

 function sendrequestLogged($jsonstream){
     $ch = curl_init("http://logged.herokuapp.com/1001");
     curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
     curl_setopt($ch, CURLOPT_POST, 1);
     curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json'));
     curl_setopt($ch, CURLOPT_POSTFIELDS,$jsonstream);
     curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
     $res = curl_exec($ch);
     curl_close($ch);
  } ```