Photon 1.0.0
Loading...
Searching...
No Matches
formatter.h
Go to the documentation of this file.
1// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
2// Distributed under the MIT License (http://opensource.org/licenses/MIT)
3
4#pragma once
5
6#include <spdlog/fmt/fmt.h>
8
9namespace spdlog
10{
11
13 {
14 public:
15 virtual ~formatter() = default;
16 virtual void format(const details::log_msg& msg, memory_buf_t& dest) = 0;
17 virtual std::unique_ptr<formatter> clone() const = 0;
18 };
19} // namespace spdlog
Definition formatter.h:13
virtual void format(const details::log_msg &msg, memory_buf_t &dest)=0
Definition format.h:4452
virtual ~formatter()=default
virtual std::unique_ptr< formatter > clone() const =0
Definition async.h:26
fmt::basic_memory_buffer< char, 250 > memory_buf_t
Definition common.h:173
Definition log_msg.h:14