Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabime <gmelman1@gmail.com>2018-07-22 21:52:46 +0300
committergabime <gmelman1@gmail.com>2018-07-22 21:52:46 +0300
commit693103af9c5e9ba27d2ecb6a71d308bcc73d24ac (patch)
tree02a34f8de6e6bea442537b401f8a92b555b9a6cd /include/spdlog/formatter.h
parent7184c423760b0ce533232d9ce76e20807d3af5f9 (diff)
support set_formatter in spdlog.h
Diffstat (limited to 'include/spdlog/formatter.h')
-rw-r--r--include/spdlog/formatter.h1
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