Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef ROOT_Root_TMsgLogger
13 #define ROOT_Root_TMsgLogger
47 class TMsgLogger :
public std::ostringstream,
public TObject {
88 *(std::ostringstream*)
this <<
arg;
return *
this;
146 #define GEndl TMsgLogger::endmsg
150 #endif // Root_TMsgLogger
const std::string m_suffix
void WriteMsg(TMsgLevel level, const std::string &line) const
const TObject * m_objSource
std::string GetPrintedSource() const
TMsgLevel GetMinLevel() const
const std::string & GetMinLevelStr() const
const std::string m_prefix
std::string GetFormattedSource() const
TMsgLevel MapLevel(const TString &instr) const
UInt_t GetMaxSourceSize() const
TMsgLogger & operator<<(TMsgLogger &(*_f)(TMsgLogger &))
static std::atomic< TMsgLevel > m_minLevel
TMsgLogger(const TObject *source, TMsgLevel minLevel=kINFO)
void SetSource(const char *source)
static TMsgLogger & endmsg(TMsgLogger &logger)
TMsgLogger & operator=(const TMsgLogger &parent)
const std::string::size_type m_maxSourceSize
const std::string & GetSource() const
std::map< TMsgLevel, std::string > m_colorMap
std::map< TMsgLevel, std::string > m_levelMap
static void SetMinLevel(TMsgLevel minLevel)