summaryrefslogtreecommitdiffstats
path: root/src/vpp-api/vom/logger.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpp-api/vom/logger.hpp')
-rw-r--r--src/vpp-api/vom/logger.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vpp-api/vom/logger.hpp b/src/vpp-api/vom/logger.hpp
index 0adc6770e2c..941623e6679 100644
--- a/src/vpp-api/vom/logger.hpp
+++ b/src/vpp-api/vom/logger.hpp
@@ -52,7 +52,7 @@ public:
/**
* Return the stream
*/
- std::ostream& stream(const char* file, int line);
+ std::ostream& stream(const char* file, int line, const log_level_t& level);
/**
* The configured level
@@ -93,7 +93,7 @@ log_t& logger();
#define VOM_LOG(lvl) \
if (lvl >= logger().level()) \
- logger().stream(__FILE__, __LINE__)
+ logger().stream(__FILE__, __LINE__, lvl)
};
/*