1 #ifndef __LARCAFFELOGGER_CXX__
2 #define __LARCAFFELOGGER_CXX__
7 std::map<std::string,logger> *logger::_logger_m =
nullptr;
9 std::ostream& logger::send(
const msg::Level_t level)
const
17 const std::string&
function )
const
19 auto& strm(send(level));
20 strm <<
"\033[94m<" << _name <<
"::" <<
function.c_str() <<
">\033[00m ";
25 const std::string&
function,
26 const unsigned int line_num )
const
28 auto& strm(send(level));
29 strm <<
"\033[94m<" << _name <<
"::" <<
function.c_str() <<
"::L" << line_num <<
">\033[00m ";
34 const std::string&
function,
35 const unsigned int line_num,
36 const std::string& file_name)
const
38 auto& strm(send(level,
function));
39 strm << file_name.c_str() <<
"::L" << line_num <<
" ";