|
Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
|
Interface for log message formatters (Strategy Pattern) kcenon. More...
#include <string>#include <memory>#include <functional>

Go to the source code of this file.
Classes | |
| struct | kcenon::logger::format_options |
| Configuration options for log formatting. More... | |
| class | kcenon::logger::log_formatter_interface |
| Abstract interface for log message formatters. More... | |
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::logger |
Typedefs | |
| using | kcenon::logger::formatter_factory = std::function<std::unique_ptr<log_formatter_interface>()> |
| Factory function type for creating formatters. | |
Interface for log message formatters (Strategy Pattern) kcenon.
This interface defines the contract for formatting log messages. Implementing the Strategy pattern allows different formatting strategies to be used interchangeably, eliminating code duplication across writers.
Definition in file log_formatter_interface.h.