Agora
1.2.0
Agora project
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
>
7
#include <
spdlog/details/log_msg.h
>
8
9
namespace
spdlog
{
10
11
class
formatter
12
{
13
public
:
14
virtual
~formatter
() =
default
;
15
virtual
void
format
(
const
details::log_msg
&msg,
memory_buf_t
&dest) = 0;
16
virtual
std::unique_ptr<formatter>
clone
()
const
= 0;
17
};
18
}
// namespace spdlog
spdlog::formatter
Definition:
formatter.h:11
spdlog::formatter::format
virtual void format(const details::log_msg &msg, memory_buf_t &dest)=0
spdlog::formatter::~formatter
virtual ~formatter()=default
spdlog::formatter::clone
virtual std::unique_ptr< formatter > clone() const =0
fmt::v8::basic_memory_buffer
Definition:
format.h:677
spdlog
Definition:
async.h:25
spdlog::details::log_msg
Definition:
log_msg.h:11
log_msg.h
fmt.h
third_party
spdlog
include
spdlog
formatter.h
Generated by
1.8.17