Flexiv RDK APIs  0.10
Log.hpp
Go to the documentation of this file.
1 
6 #ifndef FLEXIVRDK_LOG_HPP_
7 #define FLEXIVRDK_LOG_HPP_
8 
9 #include <string>
10 
11 namespace flexiv {
12 
18 class Log
19 {
20 public:
21  Log() = default;
22  virtual ~Log() = default;
23 
29  void info(const std::string& message) const;
30 
36  void warn(const std::string& message) const;
37 
43  void error(const std::string& message) const;
44 
51  void critical(const std::string& message) const;
52 };
53 
54 } /* namespace flexiv */
55 
56 #endif /* FLEXIVRDK_LOG_HPP_ */
Helper functions to print messages with timestamp and coloring. Logging raw data to csv file coming s...
Definition: Log.hpp:19
void warn(const std::string &message) const
[Non-blocking] Print warning message with timestamp and coloring.
void critical(const std::string &message) const
[Non-blocking] Print critical error message with timestamp and coloring.
void info(const std::string &message) const
[Non-blocking] Print info message with timestamp and coloring.
void error(const std::string &message) const
[Non-blocking] Print error message with timestamp and coloring.