From 4e24e7b301c53b3fb75ee63dcb2a464c307b8890 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Thu, 25 Apr 2024 15:27:02 -0400 Subject: [PATCH] bt2c::Logger: remove unused cLevel() method Signed-off-by: Philippe Proulx Change-Id: I59fb2fd48bb2166b725d8236bbf113f2fe993f99 Reviewed-on: https://review.lttng.org/c/babeltrace/+/12485 Tested-by: jenkins --- src/cpp-common/bt2c/logging.hpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/cpp-common/bt2c/logging.hpp b/src/cpp-common/bt2c/logging.hpp index 970ff9b7..a1fc583f 100644 --- a/src/cpp-common/bt2c/logging.hpp +++ b/src/cpp-common/bt2c/logging.hpp @@ -155,16 +155,6 @@ public: return _mLevel; } - /* - * Current logging level converted to a `bt_log_level` value. - * - * For legacy code. - */ - bt_log_level cLevel() const noexcept - { - return static_cast(_mLevel); - } - /* * Whether or not this logger would log at the level `level`. */ -- 2.34.1