lib: rename functions to clearly indicate API inheritance
[babeltrace.git] / src / lib / object-pool.c
index 2542047a572a6701532a155ed3526535597e6c29..8d95a890bbda66dd7da0ab497be3cc7a527f2e00 100644 (file)
@@ -20,8 +20,8 @@
  * SOFTWARE.
  */
 
-#define BT_LOG_TAG "OBJECT-POOL"
-#include "lib/lib-logging.h"
+#define BT_LOG_TAG "LIB/OBJECT-POOL"
+#include "lib/logging.h"
 
 #include <stdint.h>
 #include "common/assert.h"
@@ -41,7 +41,7 @@ int bt_object_pool_initialize(struct bt_object_pool *pool,
                pool, data);
        pool->objects = g_ptr_array_new();
        if (!pool->objects) {
-               BT_LOGE_STR("Failed to allocate a GPtrArray.");
+               BT_LIB_LOGE_APPEND_CAUSE("Failed to allocate a GPtrArray.");
                goto error;
        }
 
This page took 0.034413 seconds and 4 git commands to generate.