Livox SDK API  V2.2.0
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"
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
virtual std::unique_ptr< formatter > clone() const =0
virtual ~formatter()=default
Definition: async.h:27
virtual void format(const details::log_msg &msg, fmt::memory_buffer &dest)=0