LogIt++
Header-only, macro-first C++ logging library
Loading...
Searching...
No Matches
logit::WindowsDebugLogger::Config Struct Reference

Configuration for the Windows debug logger. More...

#include <WindowsDebugLogger.hpp>

Public Member Functions

 Config (bool async_value=true)
 Initializes configuration.
 

Public Attributes

bool async
 Flag indicating whether logging should be asynchronous.
 
bool use_dedicated_executor
 Use a dedicated executor instead of the global TaskExecutor; native builds create one worker thread per logger.
 
std::size_t queue_capacity
 Maximum queue size for the dedicated executor (0 = unlimited).
 
QueuePolicy queue_policy
 Overflow policy for the dedicated executor.
 

Detailed Description

Configuration for the Windows debug logger.

Definition at line 38 of file WindowsDebugLogger.hpp.

Constructor & Destructor Documentation

◆ Config()

logit::WindowsDebugLogger::Config::Config ( bool async_value = true)
inlineexplicit

Initializes configuration.

Definition at line 44 of file WindowsDebugLogger.hpp.

Member Data Documentation

◆ async

bool logit::WindowsDebugLogger::Config::async

Flag indicating whether logging should be asynchronous.

Definition at line 51 of file WindowsDebugLogger.hpp.

◆ queue_capacity

std::size_t logit::WindowsDebugLogger::Config::queue_capacity

Maximum queue size for the dedicated executor (0 = unlimited).

Definition at line 53 of file WindowsDebugLogger.hpp.

◆ queue_policy

QueuePolicy logit::WindowsDebugLogger::Config::queue_policy

Overflow policy for the dedicated executor.

Definition at line 54 of file WindowsDebugLogger.hpp.

◆ use_dedicated_executor

bool logit::WindowsDebugLogger::Config::use_dedicated_executor

Use a dedicated executor instead of the global TaskExecutor; native builds create one worker thread per logger.

Definition at line 52 of file WindowsDebugLogger.hpp.


The documentation for this struct was generated from the following file: