diff --git a/include/spdlog/details/line_logger.h b/include/spdlog/details/line_logger.h index 3a946cb6..80d7cc13 100644 --- a/include/spdlog/details/line_logger.h +++ b/include/spdlog/details/line_logger.h @@ -206,6 +206,11 @@ public: _enabled = false; } + bool is_enabled() const + { + return _enabled; + } + private: logger* _callback_logger;