Move to kernel style SPDX license identifiers
[babeltrace.git] / src / plugins / ctf / common / metadata / logging.h
index 0d60cd36428d8fc2d28851cfa92a2eacfebefecd..14b5fdc48c5e11e80a3c0562299d5989cceb8162 100644 (file)
@@ -1,28 +1,12 @@
-#ifndef CTF_METADATA_LOGGING_H
-#define CTF_METADATA_LOGGING_H
-
 /*
- * Copyright (c) 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
+ * SPDX-License-Identifier: MIT
  *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
+ * Copyright (c) 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
  */
 
+#ifndef CTF_METADATA_LOGGING_H
+#define CTF_METADATA_LOGGING_H
+
 #include <babeltrace2/babeltrace.h>
 #include "logging/log.h"
 
@@ -43,8 +27,8 @@ struct meta_log_config {
        bt_self_component *self_comp;
 };
 
-#define _BT_LOGV_LINENO(_lineno, _msg, args...) \
-       BT_LOGV("At line %u in metadata stream: " _msg, _lineno, ## args)
+#define _BT_LOGT_LINENO(_lineno, _msg, args...) \
+       BT_LOGT("At line %u in metadata stream: " _msg, _lineno, ## args)
 
 #define _BT_LOGW_LINENO(_lineno, _msg, args...) \
        BT_LOGW("At line %u in metadata stream: " _msg, _lineno, ## args)
@@ -52,8 +36,8 @@ struct meta_log_config {
 #define _BT_LOGE_LINENO(_lineno, _msg, args...) \
        BT_LOGE("At line %u in metadata stream: " _msg, _lineno, ## args)
 
-#define _BT_COMP_LOGV_LINENO(_lineno, _msg, args...) \
-       BT_COMP_LOGV("At line %u in metadata stream: " _msg, _lineno, ## args)
+#define _BT_COMP_LOGT_LINENO(_lineno, _msg, args...) \
+       BT_COMP_LOGT("At line %u in metadata stream: " _msg, _lineno, ## args)
 
 #define _BT_COMP_LOGW_LINENO(_lineno, _msg, args...) \
        BT_COMP_LOGW("At line %u in metadata stream: " _msg, _lineno, ## args)
This page took 0.024077 seconds and 4 git commands to generate.