Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
formatter_factory.h File Reference

Factory for creating log formatter instances. More...

#include <memory>
#include <string>
#include <unordered_map>
#include <functional>
#include "../interfaces/log_formatter_interface.h"
#include "../formatters/json_formatter.h"
#include "../formatters/logfmt_formatter.h"
#include "../formatters/template_formatter.h"
#include "../formatters/timestamp_formatter.h"
Include dependency graph for formatter_factory.h:

Go to the source code of this file.

Classes

class  kcenon::logger::formatter_factory
 Factory for creating log formatter instances. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::logger
 

Enumerations

enum class  kcenon::logger::format_type {
  kcenon::logger::plain , kcenon::logger::json , kcenon::logger::logfmt , kcenon::logger::templated ,
  kcenon::logger::compact
}
 Pre-defined format types. More...
 

Detailed Description

Factory for creating log formatter instances.

Since
2.0.0

Provides unified factory methods for creating all types of log formatters. Supports both static factory methods and a registry pattern for custom formatters.

Definition in file formatter_factory.h.