ekinakkaya / logan

Small logger tool for your C programs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

logan

A small logger tool for your C projects.

Usage:

#include <stdio.h>
#include <stdlib.h>

#include "logan.h"

int main() {
    logan_s logger;
    logan(&logger, "logfile.txt");

    logan_log(&logger, "Hello!!!");

    logan_free(&logger);

    return 0;
}

Design Goals:

  • Small
  • Fast
  • Thread Safe: Uses mutex locks.
  • Easy: Fairly easy to remember syntax and function names.

About

Small logger tool for your C programs.


Languages

Language:C 100.0%