diff options
author | Neale Ranns <neale.ranns@cisco.com> | 2017-11-17 05:08:55 -0800 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2017-11-17 14:39:53 +0000 |
commit | 8ac4ce8547d84c2d581f572b4f51fd34dbf1b01f (patch) | |
tree | 98e93c8cd57b551dd229ecaca9d8c2bcf86025dc /src/vpp-api/vom/logger.hpp | |
parent | ddecfb3d9f5960b69d964f9e870a6ded78a52f1f (diff) |
VOM fixes and logger improvements
Change-Id: I5e3fa5e098a8ea26dbc3d3a1dc064e3507e33d8e
Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'src/vpp-api/vom/logger.hpp')
-rw-r--r-- | src/vpp-api/vom/logger.hpp | 4 |
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) }; /* |