Loggy

Plugin Banner

Loggy

by dz0ny

Download
Description

Loggy is simple express server for remote logging with REST API and WordPress plugin.

Instalation node.js

npm install loggy

See example/server.js if you want to use cluster or

var app = require("Loggy");
app.listen(3000);
console.log("Loggy server listening on port %d", app.address().port);<h3>Usage</h3>

Visit localhost:3000 install bookmarklet and activate it on wordpress installation(login to it first as admin). Then where you want to use it

global $Loggy;
$Loggy->debug(string..array..object);    
$Loggy->info(string..array..object);

Edit loggy.php to fit your needs, especially secret_key and server.
Include loggy.php in your WordPress installation and activate the plugin.
After that you can use functions $Loggy->debug(); and $Loggy->info(); in your code;

Back to top