projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
plugins/ctf/common/metadata: logging: standardize in parser and lexer
[babeltrace.git]
/
plugins
/
ctf
/
common
/
metadata
/
logging.h
diff --git
a/plugins/ctf/common/metadata/logging.h
b/plugins/ctf/common/metadata/logging.h
index 5ecbdb13e13f6d8762a8e1294ec7f7bf586d217b..78a41a66a7a3cb02d188127b7d30d97d08c5f482 100644
(file)
--- a/
plugins/ctf/common/metadata/logging.h
+++ b/
plugins/ctf/common/metadata/logging.h
@@
-28,4
+28,10
@@
BT_LOG_LEVEL_EXTERN_SYMBOL(metadata_log_level);
BT_LOG_LEVEL_EXTERN_SYMBOL(metadata_log_level);
+#define _BT_LOGW_LINENO(_lineno, _msg, args...) \
+ BT_LOGW("At line %u in metadata stream: " _msg, _lineno, ## args)
+
+#define _BT_LOGE_LINENO(_lineno, _msg, args...) \
+ BT_LOGE("At line %u in metadata stream: " _msg, _lineno, ## args)
+
#endif /* CTF_METADATA_LOGGING_H */
#endif /* CTF_METADATA_LOGGING_H */
This page took
0.023335 seconds
and
4
git commands to generate.