Subversion Repositories HomeAutomation

Rev

Rev 1950 | Rev 1961 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1950 Rev 1959
Line 85... Line 85...
85
 
85
 
86
 
86
 
87
  /* Print message */
87
  /* Print message */
88
  mutex_.lock();
88
  mutex_.lock();
89
 
89
 
90
  std::cout << date_and_time << " " << level_string << " " << module << " " << message << std::endl;
90
  std::cout << boost::posix_time::to_simple_string(date_and_time) << " " << level_string << " " << module << " " << message << std::endl;
91
  std::cout.imbue(std::locale::classic());
91
  std::cout.imbue(std::locale::classic());
92
 
92
 
93
  mutex_.unlock();
93
  mutex_.unlock();
94
}
94
}
95
 
95