Skip to content

aperezdc/clog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clog

Installation

With clib:

clib install aperezdc/clog

Exmple

#define CLOG_SHORT_MACROS 1

#include "clog.h"

int
main(int argc, char **argv)
{
    clog_init(NULL);

    cmessage("Message :]");
    cinfo("Some info");
    cwarning("Some warning");
    puts("Normal output");
    cdebug("Some debugging");
    cerror("Some error");

    return EXIT_SUCCESS;
}

About

Non-allocating runtime configurable logger

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages