eina_log_02.c
//Compile with:
//gcc -Wall -o eina_log_02 eina_log_02.c `pkg-config --cflags --libs eina`
#include <stdlib.h>
#include <stdio.h>
#include <Eina.h>
void test(int i)
{
if (i < 0)
{
return;
}
EINA_LOG_DBG("Exiting test");
}
int main(void)
{
{
printf("log during the initialization of Eina_Log module\n");
return EXIT_FAILURE;
}
test(-1);
test(0);
return EXIT_SUCCESS;
}
Eina Utility library.
#define EINA_LOG_DBG(fmt,...)
Logs a message with level DEBUG on the default domain with the specified format.
Definition eina_log.h:400
#define EINA_LOG_ERR(fmt,...)
Logs a message with level ERROR on the default domain with the specified format.
Definition eina_log.h:376
#define EINA_LOG_INFO(fmt,...)
Logs a message with level INFO on the default domain with the specified format.
Definition eina_log.h:384