#include <Logger.hpp>
 | 
| static constexpr std::array< const char *, 2 >  | LOG_LEVEL_STRING = {"INFO", "WARNING"} | 
|   | 
| static constexpr std::array< const char *, 4 >  | LOG_LEVEL_COLOR = {"\033[31m", "\033[32m", "\033[33m", "\033[0m\n"} | 
|   | 
Definition at line 28 of file Logger.hpp.
 
◆ Logger()
◆ formatLogMessage()
  
  
      
        
          | std::string ven::Logger::formatLogMessage  | 
          ( | 
          LogLevel |           level,  | 
         
        
           | 
           | 
          const std::string & |           message ) | 
         
       
   | 
  
staticnodiscardprivate   | 
  
 
 
◆ getColorForDuration()
  
  
      
        
          | static const char * ven::Logger::getColorForDuration  | 
          ( | 
          const float |           duration | ) | 
           | 
         
       
   | 
  
inlinestaticprivate   | 
  
 
 
◆ getInstance()
  
  
      
        
          | static Logger & ven::Logger::getInstance  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ logExecutionTime()
template<typename Func > 
  
  
      
        
          | static void ven::Logger::logExecutionTime  | 
          ( | 
          const std::string & |           message,  | 
         
        
           | 
           | 
          Func && |           func ) | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ logWarning()
  
  
      
        
          | static void ven::Logger::logWarning  | 
          ( | 
          const std::string & |           message | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ LOG_LEVEL_COLOR
  
  
      
        
          | std::array<const char*, 4> ven::Logger::LOG_LEVEL_COLOR = {"\033[31m", "\033[32m", "\033[33m", "\033[0m\n"} | 
         
       
   | 
  
staticconstexprprivate   | 
  
 
 
◆ LOG_LEVEL_STRING
  
  
      
        
          | std::array<const char*, 2> ven::Logger::LOG_LEVEL_STRING = {"INFO", "WARNING"} | 
         
       
   | 
  
staticconstexprprivate   | 
  
 
 
The documentation for this class was generated from the following files:
- /home/runner/work/VEngine/VEngine/include/VEngine/Utils/Logger.hpp
 
- /home/runner/work/VEngine/VEngine/src/Utils/logger.cpp