Code:
#include <stdio.h>
#include "mln_log.h"
#define MLN_SIMPLE_INIT //Necessary macro for low invasive feature
#include "mln_core.h"
int main(void)
{
mln_simple_init = 1; //just assign a value to it, whatever its value is
mln_log(debug, "aaa\n"); //output log. you can use other components here
return 0;
}
Just for fun, have a nice day.
Github: repo