projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
`ctf` plugin: metadata: use local log level
[babeltrace.git]
/
src
/
plugins
/
ctf
/
common
/
metadata
/
logging.h
diff --git
a/src/plugins/ctf/common/metadata/logging.h
b/src/plugins/ctf/common/metadata/logging.h
index 81f76a2a3166c0062b26d9e62b384c0f5a007958..dbd00474048ac004e7c74d884784724dca66e6c7 100644
(file)
--- a/
src/plugins/ctf/common/metadata/logging.h
+++ b/
src/plugins/ctf/common/metadata/logging.h
@@
-23,10
+23,13
@@
* SOFTWARE.
*/
* SOFTWARE.
*/
-#define BT_LOG_OUTPUT_LEVEL metadata_log_level
#include "logging/log.h"
#include "logging/log.h"
-BT_LOG_LEVEL_EXTERN_SYMBOL(metadata_log_level);
+/*
+ * This global log level is for the generated lexer and parser: we can't
+ * use a contextual log level for their "tracing", so they rely on this.
+ */
+BT_LOG_LEVEL_EXTERN_SYMBOL(ctf_plugin_metadata_log_level);
#define _BT_LOGV_LINENO(_lineno, _msg, args...) \
BT_LOGV("At line %u in metadata stream: " _msg, _lineno, ## args)
#define _BT_LOGV_LINENO(_lineno, _msg, args...) \
BT_LOGV("At line %u in metadata stream: " _msg, _lineno, ## args)
This page took
0.024386 seconds
and
4
git commands to generate.