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

Facade for logger system components following SRP. More...

Include dependency graph for logger_context.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  kcenon::logger::core::logger_context
 Facade coordinating logger system components. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::logger
 
namespace  kcenon::logger::security
 
namespace  kcenon::logger::core
 

Detailed Description

Facade for logger system components following SRP.

Author
kcenon
Since
2.0.0

This context acts as a facade coordinating specialized components, following the Single Responsibility Principle. Each component handles one concern:

  • signal_manager_context: Signal manager lifecycle
  • logger_registry: Logger registration tracking

This design enables better testability and supports multiple independent logger instances.

Key Features:

  • Dependency injection for signal_manager and other components
  • Support for mock injection in tests
  • Separation of concerns (SRP)
  • Multiple independent contexts possible (no global state)

Definition in file logger_context.h.