12#ifndef ROOT_Root_TMsgLogger
13#define ROOT_Root_TMsgLogger
47 class TMsgLogger :
public std::ostringstream,
public TObject {
88 *
static_cast<std::ostringstream*
>(
this) << arg;
147#define GEndl TMsgLogger::endmsg
static std::atomic< TMsgLevel > m_minLevel
TMsgLogger(const TObject *source, TMsgLevel minLevel=kINFO)
const std::string m_prefix
std::string GetFormattedSource() const
TMsgLevel MapLevel(const TString &instr) const
const std::string & GetSource() const
const std::string & GetMinLevelStr() const
TMsgLogger & operator=(const TMsgLogger &parent)
UInt_t GetMaxSourceSize() const
void WriteMsg(TMsgLevel level, const std::string &line) const
TMsgLogger & operator<<(TMsgLogger &(*_f)(TMsgLogger &))
std::map< TMsgLevel, std::string > m_levelMap
const std::string m_suffix
void SetSource(const TString &source)
void SetSource(const std::string &source)
std::map< TMsgLevel, std::string > m_colorMap
static void SetMinLevel(TMsgLevel minLevel)
const TObject * m_objSource
TMsgLevel GetMinLevel() const
std::string GetPrintedSource() const
const std::string::size_type m_maxSourceSize
void SetSource(const char *source)
static Root::TMsgLogger logger("iLumiCalc")