diff options
author | gabime <gmelman1@gmail.com> | 2018-07-22 21:52:46 +0300 |
---|---|---|
committer | gabime <gmelman1@gmail.com> | 2018-07-22 21:52:46 +0300 |
commit | 693103af9c5e9ba27d2ecb6a71d308bcc73d24ac (patch) | |
tree | 02a34f8de6e6bea442537b401f8a92b555b9a6cd /include/spdlog/formatter.h | |
parent | 7184c423760b0ce533232d9ce76e20807d3af5f9 (diff) |
support set_formatter in spdlog.h
Diffstat (limited to 'include/spdlog/formatter.h')
-rw-r--r-- | include/spdlog/formatter.h | 1 |
1 files changed, 1 insertions, 0 deletions
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<formatter> clone() const = 0; }; } // namespace spdlog |