#include <stdio.h>
#include <string.h>
#include "logr.h"
int main(){
char data[80];
writeLog("Oops!",NULL,"er");
return 0;
}
gcc test.c logr.c -o test
or
make test
./test // this will create / update data file
gcc logrReader.c stack.c parser.c -o logrReader
or
make reader
./reader path-to-data-file
./logrReader <path-to-log-file>