LeviLamina
Loading...
Searching...
No Matches
Formatter.h
1#pragma once
2
3#include "ll/api/base/Macro.h"
4#include "ll/api/io/LogMessage.h"
5
6namespace ll::io {
7class Formatter {
8public:
9 LLNDAPI static bool supportColorLog();
10
11 virtual ~Formatter() = default;
12
13 virtual void format(LogMessageView const& view, std::string& buffer) const noexcept = 0;
14};
15} // namespace ll::io
Definition Formatter.h:7
Definition buffer.h:5
Definition LogMessage.h:12