LogIt++
Loading...
Searching...
No Matches
logit::Logger::LoggerStrategy Struct Reference

Structure to hold a logger-formatter pair. More...

Public Attributes

std::unique_ptr< ILoggerlogger
 The logger instance.
 
std::unique_ptr< ILogFormatterformatter
 The formatter instance.
 
bool single_mode
 Flag indicating if the logger is in single mode.
 
bool enabled
 Flag indicating if the logger is enabled.
 

Detailed Description

Structure to hold a logger-formatter pair.

Definition at line 192 of file Logger.hpp.

Member Data Documentation

◆ enabled

bool logit::Logger::LoggerStrategy::enabled

Flag indicating if the logger is enabled.

Definition at line 196 of file Logger.hpp.

◆ formatter

std::unique_ptr<ILogFormatter> logit::Logger::LoggerStrategy::formatter

The formatter instance.

Definition at line 194 of file Logger.hpp.

◆ logger

std::unique_ptr<ILogger> logit::Logger::LoggerStrategy::logger

The logger instance.

Definition at line 193 of file Logger.hpp.

◆ single_mode

bool logit::Logger::LoggerStrategy::single_mode

Flag indicating if the logger is in single mode.

Definition at line 195 of file Logger.hpp.


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