Program Listing for File logging.hpp
↰ Return to documentation for file (include/kobuki_core/logging.hpp
)
/*****************************************************************************
** Ifdefs
*****************************************************************************/
#ifndef KOBUKI_LOGGING_HPP_
#define KOBUKI_LOGGING_HPP_
/*****************************************************************************
** Includes
*****************************************************************************/
#include <iostream>
#include <string>
#include <ecl/console.hpp>
/*****************************************************************************
** Namespaces
*****************************************************************************/
namespace kobuki {
/*****************************************************************************
** Log Levels
*****************************************************************************/
enum LogLevel {
DEBUG = 0,
INFO = 1,
WARNING = 2,
ERROR = 3,
NONE = 4
};
void logDebug(const std::string& message);
void logInfo(const std::string& message);
void logWarning(const std::string& message);
void logError(const std::string& message);
} // namespace kobuki
#endif /* KOBUKI_LOGGING_HPP_ */