16 #ifndef INFRASTRUCTURE__DEBUG_LOGGER_HPP_
17 #define INFRASTRUCTURE__DEBUG_LOGGER_HPP_
44 DebugLogger(LogLevel log_level,
const std::string & log_directory);
51 DebugLogger(
unsigned int log_level,
const std::string & log_directory);
58 void Log(LogLevel level,
const std::string & message);
74 std::string m_log_directory;
75 std::string m_log_level_names[5] = {
"FATAL",
"ERROR",
"WARN ",
"INFO ",
"DEBUG"};
DebugLogger class.
Definition: debug_logger.hpp:37
DebugLogger(LogLevel log_level, const std::string &log_directory)
DebugLogger Constructor.
Definition: debug_logger.cpp:21
void SetLogLevel(LogLevel level)
Function to set the log level.
Definition: ros_debug_logger.cpp:26
void Log(LogLevel level, const std::string &message)
Log message.
Definition: ros_debug_logger.cpp:48