Skip to content

NetDebugLog is an open source C++ client for NetDebugPlot (http://www.shazbits.com/netdebugplot). There are 1 .cpp and 1 .h files to include in your project to make it all work. It consists of a TCP client, a couple configuration and logging functions. It is compatible with Windows and Linux (tested with Ubuntu 12.04).

License

Notifications You must be signed in to change notification settings

romdr/NetDebugLog

Repository files navigation

NetDebugLog

NetDebugLog is an open source C++ client for NetDebugPlot (http://www.shazbits.com/netdebugplot). There are 1 .cpp and 1 .h files to include in your project to make it all work. It consists of a TCP client, a couple configuration and logging functions. It is compatible with Windows and Linux (tested with Ubuntu 12.04).

Example

#include <iostream>
#include "NetDebugLog/NetDebugLog.h"

int main(int argc, char* argv[])
{
	static int delay = 33;

	// Those are default
	//SetNetLogIPAddress("127.0.0.1");
	//SetNetLogPort(13000);
	//SetNetLogEnabled(false);

	srand(0);
	while (true)
	{
		float val1 = (float)((rand() % 25) * (rand() % 2 == 0 ? 1 : -1));
		float val2 = val1 + (float)(rand() % 25);

		NetLog(val1);
		NetLog("test", val2);

		Sleep(delay);
	}

	return 0;
}

NetDebugPlot

netdebugplot

myviewcounter

ISC License

https://github.com/shazbits/NetDebugLog/blob/master/LICENSE.txt

Romain Dura http://www.shazbits.com/netdebuglog

About

NetDebugLog is an open source C++ client for NetDebugPlot (http://www.shazbits.com/netdebugplot). There are 1 .cpp and 1 .h files to include in your project to make it all work. It consists of a TCP client, a couple configuration and logging functions. It is compatible with Windows and Linux (tested with Ubuntu 12.04).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages