#include <logger.h>
 | 
|   | DomainLogger ()=default | 
|   | 
|   | DomainLogger (std::string domain) | 
|   | 
| void  | debug (std::invocable auto producer) const | 
|   | 
| void  | debug (const std::string &msg) const | 
|   | 
| void  | info (std::invocable auto producer) const | 
|   | 
| void  | info (const std::string &msg) const | 
|   | 
| void  | warning (std::invocable auto producer) const | 
|   | 
| void  | warning (const std::string &msg) const | 
|   | 
| void  | system (std::invocable auto producer) const | 
|   | 
| void  | system (const std::string &msg) const | 
|   | 
| void  | note (std::invocable auto producer) const | 
|   | 
| void  | note (const std::string &msg) const | 
|   | 
| void  | error (std::invocable auto producer) const | 
|   | 
| void  | error (const std::string &msg) const | 
|   | 
| void  | log (LogLevel log_level, std::function< std::string()> producer) const | 
|   | 
| void  | log (LogLevel log_level, std::string msg) const | 
|   | 
◆ DomainLogger() [1/2]
  
  
      
        
          | mysql_harness::logging::DomainLogger::DomainLogger  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
default   | 
  
 
 
◆ DomainLogger() [2/2]
  
  
      
        
          | mysql_harness::logging::DomainLogger::DomainLogger  | 
          ( | 
          std::string  | 
          domain | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ debug() [1/2]
  
  
      
        
          | void mysql_harness::logging::DomainLogger::debug  | 
          ( | 
          const std::string &  | 
          msg | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ debug() [2/2]
  
  
      
        
          | void mysql_harness::logging::DomainLogger::debug  | 
          ( | 
          std::invocable auto  | 
          producer | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ error() [1/2]
  
  
      
        
          | void mysql_harness::logging::DomainLogger::error  | 
          ( | 
          const std::string &  | 
          msg | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ error() [2/2]
  
  
      
        
          | void mysql_harness::logging::DomainLogger::error  | 
          ( | 
          std::invocable auto  | 
          producer | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ info() [1/2]
  
  
      
        
          | void mysql_harness::logging::DomainLogger::info  | 
          ( | 
          const std::string &  | 
          msg | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ info() [2/2]
  
  
      
        
          | void mysql_harness::logging::DomainLogger::info  | 
          ( | 
          std::invocable auto  | 
          producer | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ init_logger()
  
  
      
        
          | bool mysql_harness::logging::DomainLogger::init_logger  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
private   | 
  
 
 
◆ log() [1/2]
      
        
          | void mysql_harness::logging::DomainLogger::log  | 
          ( | 
          LogLevel  | 
          log_level,  | 
        
        
           | 
           | 
          std::function< std::string()>  | 
          producer  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
◆ log() [2/2]
      
        
          | void mysql_harness::logging::DomainLogger::log  | 
          ( | 
          LogLevel  | 
          log_level,  | 
        
        
           | 
           | 
          std::string  | 
          msg  | 
        
        
           | 
          ) | 
           |  const | 
        
      
 
 
◆ note() [1/2]
  
  
      
        
          | void mysql_harness::logging::DomainLogger::note  | 
          ( | 
          const std::string &  | 
          msg | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ note() [2/2]
  
  
      
        
          | void mysql_harness::logging::DomainLogger::note  | 
          ( | 
          std::invocable auto  | 
          producer | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ system() [1/2]
  
  
      
        
          | void mysql_harness::logging::DomainLogger::system  | 
          ( | 
          const std::string &  | 
          msg | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ system() [2/2]
  
  
      
        
          | void mysql_harness::logging::DomainLogger::system  | 
          ( | 
          std::invocable auto  | 
          producer | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ warning() [1/2]
  
  
      
        
          | void mysql_harness::logging::DomainLogger::warning  | 
          ( | 
          const std::string &  | 
          msg | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ warning() [2/2]
  
  
      
        
          | void mysql_harness::logging::DomainLogger::warning  | 
          ( | 
          std::invocable auto  | 
          producer | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ domain_
◆ logger_
◆ logger_mtx_
  
  
      
        
          | std::mutex mysql_harness::logging::DomainLogger::logger_mtx_ | 
         
       
   | 
  
mutableprivate   | 
  
 
 
◆ logger_ready_
  
  
      
        
          | std::atomic<bool> mysql_harness::logging::DomainLogger::logger_ready_ {false} | 
         
       
   | 
  
mutableprivate   | 
  
 
 
The documentation for this class was generated from the following files:
- router/src/harness/include/mysql/harness/logging/logger.h
 
- router/src/harness/src/logging/logger.cc