spdlog/include/c11log/formatter.h

26 lines
335 B
C
Raw Normal View History

2014-03-22 20:11:17 +08:00
#pragma once
#include <string>
#include <chrono>
2014-03-28 17:52:36 +08:00
2014-03-22 20:11:17 +08:00
#include <iomanip>
#include <thread>
#include <cstring>
2014-05-08 07:23:07 +08:00
#include <sstream>
2014-10-10 08:36:50 +08:00
#include "common.h"
2014-03-22 20:11:17 +08:00
#include "details/os.h"
#include "details/log_msg.h"
#include "details/fast_oss.h"
2014-05-08 07:23:07 +08:00
2014-03-22 20:11:17 +08:00
namespace c11log
{
class formatter
{
2014-03-28 21:05:09 +08:00
public:
virtual void format(details::log_msg& msg) = 0;
2014-03-22 20:11:17 +08:00
};
}