git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@41985
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
#include "eina_module.h"
#include "eina_mempool.h"
#include "eina_error.h"
+#include "eina_log.h"
#include "eina_array.h"
#include "eina_stringshare.h"
#include "eina_magic.h"
#include "eina_types.h"
#include "eina_main.h"
#include "eina_error.h"
+#include "eina_log.h"
#include "eina_hash.h"
#include "eina_stringshare.h"
#include "eina_list.h"
fprintf(stderr, "Could not initialize eina error module.\n");
return 0;
}
+
+ if (!eina_log_init())
+ {
+ fprintf(stderr, "Could not initialize eina log module.\n");
+ goto log_init_error;
+ }
+
if (!eina_hash_init())
{
EINA_ERROR_PERR("Could not initialize eina hash module.\n");
stringshare_init_error:
eina_hash_shutdown();
hash_init_error:
+ eina_log_shutdown();
+ log_init_error:
eina_error_shutdown();
+
return 0;
}
eina_list_shutdown();
eina_stringshare_shutdown();
eina_hash_shutdown();
+ eina_log_shutdown();
eina_error_shutdown();
finish_shutdown: