Change-Id: I4ee302ef4f016d1ba43ed5da6e4ddd6cd59f5122
/**
* @brief Configure the library
* @details Reads relevant config values
+ * @remarks The constructor has the highest possible priority (100 and below are reserved).
+ * This is because other libraries are likely to use libdlog and might want to
+ * use it as early as in their own constructor. This means that libdlog must be
+ * constructed as soon as possible.
*/
#ifdef UNIT_TEST
void __configure(void)
#else
-static void __attribute__((constructor)) __configure(void)
+static void __attribute__((constructor(101))) __configure(void)
#endif
{
struct log_config config;