Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

19 Zeilen
455B

  1. // Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
  2. // Distributed under the MIT License (http://opensource.org/licenses/MIT)
  3. #pragma once
  4. #include "fmt/fmt.h"
  5. #include "spdlog/details/log_msg.h"
  6. namespace spdlog {
  7. class formatter
  8. {
  9. public:
  10. virtual ~formatter() = default;
  11. virtual void format(const details::log_msg &msg, memory_buf_t &dest) = 0;
  12. virtual std::unique_ptr<formatter> clone() const = 0;
  13. };
  14. } // namespace spdlog