Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
kcenon::logger::backends Namespace Reference

Classes

class  integration_backend
 Abstract interface for integration backends. More...
 
class  standalone_backend
 Integration backend for standalone logger operation. More...
 

Functions

std::unique_ptr< integration_backendkcenon::logger::backends::create_standalone_backend ()
 
std::unique_ptr< integration_backendkcenon::logger::backends::create_default_backend ()
 Detect and create the appropriate default backend.
 

Function Documentation

◆ create_default_backend()

std::unique_ptr< integration_backend > kcenon::logger::backends::create_default_backend ( )
inlineexport

Detect and create the appropriate default backend.

Returns
Unique pointer to the detected integration backend

This function checks compile-time and runtime conditions to determine the most appropriate backend. In standalone mode, returns standalone_backend. When thread_system or monitoring_system integration is enabled, returns the corresponding backend.

Since
3.0.0
Examples
/home/runner/work/logger_system/logger_system/src/modules/backends.cppm.

Definition at line 189 of file backends.cppm.

189 {
190 // Default to standalone mode
191 // In the future, this can check for available integrations
193}
std::unique_ptr< integration_backend > create_standalone_backend()

References create_standalone_backend().

Here is the call graph for this function:

◆ create_standalone_backend()

std::unique_ptr< integration_backend > kcenon::logger::backends::create_standalone_backend ( )
inlineexport
Examples
/home/runner/work/logger_system/logger_system/src/modules/backends.cppm.

Definition at line 174 of file backends.cppm.

174 {
175 return std::make_unique<standalone_backend>();
176}

Referenced by create_default_backend().

Here is the caller graph for this function: