added function get_log_level_string to logfunc.cpp/hpp