14 static constinit char const *
const LELEL_NAMES[]{
"Fatal",
"Error",
"Warn",
"Info",
"Verbose"};
15 println(std::format(
"{} {}: {}",
toStr(pos), LELEL_NAMES[ll], message));
21 return std::format(
"({},{})", pos.
m_Line, pos.
m_Col);
26void C_ParserOStreamCount::println(
const std::string &line)
std::array< unsigned, 5 > m_count
virtual void println(const std::string &line)=0
void log(E_LogLevel ll, const C_SourcePos &pos, std::string_view message)
virtual std::string toStr(const C_SourcePos &pos) const
THE common namespace of bux library.
std::string_view m_Source