Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
wire-cell-build
util
inc
spdlog
formatter.h
Go to the documentation of this file.
1
//
2
// Copyright(c) 2015 Gabi Melman.
3
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
4
//
5
6
#pragma once
7
8
#include "
fmt/fmt.h
"
9
#include "
spdlog/details/log_msg.h
"
10
11
namespace
spdlog
{
12
13
class
formatter
14
{
15
public
:
16
virtual
~formatter
() =
default
;
17
virtual
void
format
(
const
details::log_msg
&
msg
,
fmt::memory_buffer
&
dest
) = 0;
18
virtual
std::unique_ptr<formatter>
clone
()
const
= 0;
19
};
20
}
// namespace spdlog
fmt.h
memory_buffer
basic_memory_buffer< char > memory_buffer
Definition:
format.h:553
msg
void msg(const char *fmt,...)
Definition:
message.cpp:107
keras_to_tensorflow.dest
dest
Definition:
keras_to_tensorflow.py:59
spdlog::formatter
Definition:
formatter.h:13
spdlog::formatter::~formatter
virtual ~formatter()=default
spdlog
Definition:
async.h:27
spdlog::formatter::clone
virtual std::unique_ptr< formatter > clone() const =0
spdlog::details::log_msg
Definition:
log_msg.h:16
log_msg.h
spdlog::formatter::format
virtual void format(const details::log_msg &msg, fmt::memory_buffer &dest)=0
Generated by
1.8.11