From 693103af9c5e9ba27d2ecb6a71d308bcc73d24ac Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 22 Jul 2018 21:52:46 +0300 Subject: support set_formatter in spdlog.h --- include/spdlog/formatter.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/spdlog/formatter.h') diff --git a/include/spdlog/formatter.h b/include/spdlog/formatter.h index 39d86524..afc6ee66 100644 --- a/include/spdlog/formatter.h +++ b/include/spdlog/formatter.h @@ -15,5 +15,6 @@ class formatter public: virtual ~formatter() = default; virtual void format(const details::log_msg &msg, fmt::memory_buffer &dest) = 0; + virtual std::unique_ptr clone() const = 0; }; } // namespace spdlog -- cgit v1.2.3