orocos_cpp
LoggingHelper.hpp
Go to the documentation of this file.
1 #ifndef LOGGINGHELPER_H
2 #define LOGGINGHELPER_H
3 
4 #include <rtt/TaskContext.hpp>
5 
6 namespace orocos_cpp
7 {
8 
10 {
11  const int DEFAULT_LOG_BUFFER_SIZE;
12 public:
13  LoggingHelper();
14  bool logAllPorts(RTT::TaskContext *context, const std::string &loggerName, const std::string& log_directory,
15  const std::vector<std::string> excludeList = std::vector<std::string>(), bool loadTypekits = true);
19  bool logAllPorts(RTT::TaskContext *context, const std::string &loggerName,
20  const std::vector<std::string> excludeList = std::vector<std::string>(), bool loadTypekits = true);
21  bool logTasks(const std::map<std::string, bool> &loggingEnabledTaskMap, bool logAll);
22  bool logTasks(const std::vector<std::string> &excludeList);
23  bool logTasks();
24 };
25 
26 }//end of namespace
27 #endif // LOGGINGHELPER_H
bool logTasks()
Definition: LoggingHelper.cpp:23
Definition: ConfigurationHelper.hpp:13
Definition: LoggingHelper.hpp:9
LoggingHelper()
Definition: LoggingHelper.cpp:18
bool logAllPorts(RTT::TaskContext *context, const std::string &loggerName, const std::string &log_directory, const std::vector< std::string > excludeList=std::vector< std::string >(), bool loadTypekits=true)
Definition: LoggingHelper.cpp:150