#include <TMsgLogger.h>
Definition at line 52 of file TMsgLogger.h.
 
◆ TMsgLogger() [1/4]
◆ TMsgLogger() [2/4]
◆ TMsgLogger() [3/4]
◆ TMsgLogger() [4/4]
Definition at line 78 of file TMsgLogger.cxx.
   79   : basic_ios< TMsgLogger::char_type, TMsgLogger::traits_type >(),
 
 
 
◆ ~TMsgLogger()
  
  | 
        
          | Root::TMsgLogger::~TMsgLogger | ( |  | ) |  |  | virtual | 
 
 
◆ endmsg()
◆ GetFormattedSource()
      
        
          | string Root::TMsgLogger::GetFormattedSource | ( |  | ) | const | 
      
 
 
◆ GetMaxSourceSize()
  
  | 
        
          | UInt_t Root::TMsgLogger::GetMaxSourceSize | ( |  | ) | const |  | inline | 
 
 
◆ GetMinLevel()
  
  | 
        
          | TMsgLevel Root::TMsgLogger::GetMinLevel | ( |  | ) | const |  | inline | 
 
 
◆ GetMinLevelStr()
  
  | 
        
          | const std::string& Root::TMsgLogger::GetMinLevelStr | ( |  | ) | const |  | inline | 
 
 
◆ GetPrintedSource()
      
        
          | string Root::TMsgLogger::GetPrintedSource | ( |  | ) | const | 
      
 
 
◆ GetSource()
  
  | 
        
          | const std::string& Root::TMsgLogger::GetSource | ( |  | ) | const |  | inline | 
 
 
◆ InitMaps()
  
  | 
        
          | void Root::TMsgLogger::InitMaps | ( |  | ) |  |  | private | 
 
 
◆ MapLevel()
Definition at line 190 of file TMsgLogger.cxx.
  196    std::map<TMsgLevel, std::string>::const_iterator 
it = 
m_levelMap.begin();
 
  200    TString 
line( Form( 
"fatal error in <TMsgLogger::MapLevel> unknown output level: %s ==> abort", ins.Data() ) );
 
 
 
 
◆ operator<<() [1/5]
  
  | 
        
          | TMsgLogger & Root::TMsgLogger::operator<< | ( | std::ios &(*)(std::ios &) | _f | ) |  |  | inline | 
 
 
◆ operator<<() [2/5]
  
  | 
        
          | TMsgLogger & Root::TMsgLogger::operator<< | ( | std::ostream &(*)(std::ostream &) | _f | ) |  |  | inline | 
 
 
◆ operator<<() [3/5]
◆ operator<<() [4/5]
◆ operator<<() [5/5]
◆ operator=()
◆ Send()
  
  | 
        
          | void Root::TMsgLogger::Send | ( |  | ) |  |  | private | 
 
Definition at line 129 of file TMsgLogger.cxx.
  137    string::size_type previous_pos = 0, current_pos = 0;
 
  141       current_pos = 
message.find( 
'\n', previous_pos );
 
  142       string line = 
message.substr( previous_pos, current_pos - previous_pos );
 
  144       ostringstream message_to_send;
 
  146       message_to_send.setf( ios::adjustfield, ios::left );
 
  151       if (current_pos == 
message.npos) 
break;
 
  152       previous_pos = current_pos + 1;
 
 
 
 
◆ SetMinLevel()
  
  | 
        
          | static void Root::TMsgLogger::SetMinLevel | ( | TMsgLevel | minLevel | ) |  |  | inlinestatic | 
 
 
◆ SetSource() [1/3]
  
  | 
        
          | void Root::TMsgLogger::SetSource | ( | const char * | source | ) |  |  | inline | 
 
 
◆ SetSource() [2/3]
  
  | 
        
          | void Root::TMsgLogger::SetSource | ( | const std::string & | source | ) |  |  | inline | 
 
 
◆ SetSource() [3/3]
  
  | 
        
          | void Root::TMsgLogger::SetSource | ( | const TString & | source | ) |  |  | inline | 
 
 
◆ WriteMsg()
  
  | 
        
          | void Root::TMsgLogger::WriteMsg | ( | TMsgLevel | level, |  
          |  |  | const std::string & | line |  
          |  | ) |  | const |  | private | 
 
Definition at line 160 of file TMsgLogger.cxx.
  163    map<TMsgLevel, std::string>::const_iterator slevel;
 
  165 #ifdef USE_COLORED_CONSOLE 
  171            << 
"<" << slevel->second << 
"> " << 
line  << 
"\033[0m" << endl;
 
  176       cout << 
m_prefix << 
"<" << slevel->second << 
"> " << 
line << endl;
 
  177 #endif // USE_COLORED_CONSOLE 
  180    if (mlevel == 
kFATAL) { cout << 
"***> abort program execution" << endl; std::abort(); }
 
 
 
 
◆ m_activeLevel
◆ m_colorMap
  
  | 
        
          | std::map<TMsgLevel, std::string> Root::TMsgLogger::m_colorMap |  | private | 
 
 
◆ m_levelMap
  
  | 
        
          | std::map<TMsgLevel, std::string> Root::TMsgLogger::m_levelMap |  | private | 
 
 
◆ m_maxSourceSize
  
  | 
        
          | const std::string::size_type Root::TMsgLogger::m_maxSourceSize |  | private | 
 
 
◆ m_minLevel
◆ m_objSource
  
  | 
        
          | const TObject* Root::TMsgLogger::m_objSource |  | private | 
 
 
◆ m_prefix
  
  | 
        
          | const std::string Root::TMsgLogger::m_prefix |  | private | 
 
 
◆ m_strSource
  
  | 
        
          | std::string Root::TMsgLogger::m_strSource |  | private | 
 
 
◆ m_suffix
  
  | 
        
          | const std::string Root::TMsgLogger::m_suffix |  | private | 
 
 
The documentation for this class was generated from the following files: