Coverage Report

Created: 2025-11-24 06:58

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/spdlog/include/spdlog/formatter.h
Line
Count
Source
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/details/log_msg.h>
7
#include <spdlog/fmt/fmt.h>
8
9
namespace spdlog {
10
11
class formatter {
12
public:
13
27.1k
    virtual ~formatter() = default;
14
    virtual void format(const details::log_msg &msg, memory_buf_t &dest) = 0;
15
    virtual std::unique_ptr<formatter> clone() const = 0;
16
};
17
}  // namespace spdlog