-#ifndef BABELTRACE_LOGGING_H
-#define BABELTRACE_LOGGING_H
+#ifndef BABELTRACE2_LOGGING_H
+#define BABELTRACE2_LOGGING_H
/*
* Copyright (c) 2017 Philippe Proulx <pproulx@efficios.com>
* SOFTWARE.
*/
+#ifndef __BT_IN_BABELTRACE_H
+# error "Please include <babeltrace2/babeltrace.h> instead."
+#endif
+
#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
The library's and object's states remain consistent when a
warning is issued.
*/
- BT_LOGGING_LEVEL_WARN = 4,
+ BT_LOGGING_LEVEL_WARNING = 4,
/**
An important error from which the library cannot recover, but
}
#endif
-#endif /* BABELTRACE_LOGGING_H */
+#endif /* BABELTRACE2_LOGGING_H */