Chrysalis - Logging
Loading...
Searching...
No Matches
ColoredNameFlagFormatter.h
Go to the documentation of this file.
1#ifndef CHRYSALIS_COLOREDNAMEFLAGFORMATTER_H
2#define CHRYSALIS_COLOREDNAMEFLAGFORMATTER_H
3
4#include <ctime>
5#include <memory>
6
7#include <spdlog/common.h>
8#include <spdlog/details/log_msg.h>
9#include <spdlog/pattern_formatter.h>
10
13
14namespace Logging {
16 public:
17 void format(const spdlog::details::log_msg& msg, const std::tm& tm_time, spdlog::memory_buf_t& dest) override;
18 [[nodiscard]] std::unique_ptr<custom_flag_formatter> clone() const override;
19 };
20}
21
22#endif //CHRYSALIS_COLOREDNAMEFLAGFORMATTER_H
#define LOGGING
Definition LoggingLibraryExport.h:11
Definition ColoredNameFlagFormatter.h:15
std::unique_ptr< custom_flag_formatter > clone() const override
Definition ColoredNameFlagFormatter.cpp:38
void format(const spdlog::details::log_msg &msg, const std::tm &tm_time, spdlog::memory_buf_t &dest) override
Definition ColoredNameFlagFormatter.cpp:18
Definition NameFlagFormatter.h:14
Definition BaseConsoleUser.h:4