Skip to content

flouthoc/logr.h

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logr.h

Docs

- http://flouthoc.github.io/logr.h/

A micro header to create/view logs for your next POSIX thing.BSD LISENCE

logr

example.c

#include <stdio.h>
#include <string.h>
#include "logr.h"

int main(){


	char data[80];
	writeLog("Oops!",NULL,"er");
	return 0;
}

Build statement for example.c (logr.h)

gcc test.c logr.c -o test

or

make test
./test // this will create / update data file

Building logrReader from logrReader.c

gcc logrReader.c stack.c parser.c -o logrReader

or

make reader
./reader path-to-data-file

Using logrReader

./logrReader <path-to-log-file>

Fork it!

flouthoc@gmail.com

About

A micro library to create/view logs for your next POSIX thing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published