29 constexpr
static std::array<const char *, 5> sTag{
38 std::cerr <<
'[' << entry.
fGroup <<
"] ";
39 std::cerr << sTag[static_cast<int>(entry.
fLevel)];
41 if (!entry.
fFile.empty())
42 std::cerr <<
" " << entry.
fFile <<
':' << entry.
fLine;
45 std::cerr <<
":\n" <<
" " << entry.str();
51 static TLogManager instance(std::make_unique<TLogHandlerDefault>());
virtual bool Emit(const TLogEntry &entry)=0
static TLogManager & Get()
Abstract TLogHandler base class.
if(line.BeginsWith("/*"))