From 5c3dae62b9218dbd2493ff6390db062013ca4bdc Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 29 Jun 2020 00:31:21 +0800 Subject: ... --- include/cru/common/Base.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/cru/common/Base.hpp') diff --git a/include/cru/common/Base.hpp b/include/cru/common/Base.hpp index ff7ab31e..409c2b0e 100644 --- a/include/cru/common/Base.hpp +++ b/include/cru/common/Base.hpp @@ -44,4 +44,8 @@ struct Interface { } using Index = gsl::index; + +#define CRU_DEFINE_CLASS_LOG_TAG(tag) \ + private: \ + constexpr static std::string_view log_tag = tag; } // namespace cru -- cgit v1.2.3