- Timestamp:
- 08/05/10 14:40:38 (14 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/AsapLogSink.cpp
r1819 r1859 21 21 22 22 void AsapLogSink::postMessage(const std::string& msg, 23 const std::string& location,24 const std::string& priority)23 const std::string& priority, 24 const std::string& origin) 25 25 { 26 26 LogMessage::Priority p; … … 32 32 p = LogMessage::SEVERE; 33 33 } 34 LogMessage message(msg, LogOrigin( location), p);34 LogMessage message(msg, LogOrigin(origin), p); 35 35 36 36 MemoryLogSink::postLocally(message); -
trunk/src/AsapLogSink.h
r1819 r1859 37 37 38 38 virtual void postMessage(const std::string& msg, 39 const std::string& location="",40 const std::string& priority="INFO");39 const std::string& priority="INFO", 40 const std::string& origin=""); 41 41 42 42 std::string popMessages(); -
trunk/src/python_LogSink.cpp
r1819 r1859 41 41 .def( init <> () ) 42 42 .def("post", &AsapLogSink::postMessage, 43 (boost::python::arg(" location")="",44 boost::python::arg(" priority")="INFO"))43 (boost::python::arg("priority")="INFO", 44 boost::python::arg("origin")="")) 45 45 .def("pop", &AsapLogSink::popMessages) 46 46 ;
Note:
See TracChangeset
for help on using the changeset viewer.