Guest User

Untitled

a guest
Apr 20th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. Mar 25 19:17:55 127.0.0.1 user:[pool-15-thread-17]
  2. INTOUCH;0;INFO;SOFTLOADSERVICE;Install started
  3.  
  4. #include <boost/regex.hpp>
  5. #include <boost/date_time/posix_time/posix_time.hpp>
  6. #include <tuple>
  7. #include <string>
  8. const std::string softload_startup = "(\w{3}) (\d{1,2}) (\d{2}):
  9. (\d{2}):(\d{2})*SOFTLOADSERVICE;Install started\s"; //NOLINT
  10.  
  11. const boost::regex softload_start(softload_startup);
  12.  
  13. class InTouchSoftload {
  14. public:
  15. explicit InTouchSoftload(std::string filename);
  16. private:
  17. std::string _log_name;
  18. std::tuple<unsigned int, std::string> software_update_start;
  19. };
Add Comment
Please, Sign In to add comment