src.ctf.fs: honor component's initial log level
[babeltrace.git] / src / plugins / ctf / fs-src / fs.h
index 7ab98adc4e2f328979885a62d6bd11572b97dc47..d4dec888933aae08cfc722c8bb7ad2033f88cfc6 100644 (file)
@@ -39,6 +39,8 @@ BT_HIDDEN
 extern bool ctf_fs_debug;
 
 struct ctf_fs_file {
+       bt_logging_level log_level;
+
        /* Owned by this */
        GString *path;
 
@@ -67,6 +69,8 @@ struct ctf_fs_metadata {
 };
 
 struct ctf_fs_component {
+       bt_logging_level log_level;
+
        /* Weak, guaranteed to exist */
        bt_self_component_source *self_comp;
 
@@ -80,6 +84,8 @@ struct ctf_fs_component {
 };
 
 struct ctf_fs_trace {
+       bt_logging_level log_level;
+
        /* Owned by this */
        struct ctf_fs_metadata *metadata;
 
@@ -168,6 +174,8 @@ struct ctf_fs_port_data {
 };
 
 struct ctf_fs_msg_iter_data {
+       bt_logging_level log_level;
+
        /* Weak */
        bt_self_message_iterator *pc_msg_iter;
 
@@ -222,7 +230,7 @@ bt_self_message_iterator_status ctf_fs_iterator_seek_beginning(
 /* Create and initialize a new, empty ctf_fs_component. */
 
 BT_HIDDEN
-struct ctf_fs_component *ctf_fs_component_create(void);
+struct ctf_fs_component *ctf_fs_component_create(bt_logging_level log_level);
 
 /*
  * Search recursively under all paths in `paths_value` (an array of strings),
This page took 0.023873 seconds and 4 git commands to generate.