Brian Silverman | fd5e2a3 | 2014-02-22 20:02:39 -0800 | [diff] [blame] | 1 | #include "aos/common/logging/logging_impl.h" |
2 | |||||
3 | #include <functional> | ||||
4 | |||||
5 | #include "aos/queue_primitives.h" | ||||
6 | |||||
7 | namespace aos { | ||||
8 | namespace logging { | ||||
9 | |||||
10 | template <class T> | ||||
11 | void DoLogMatrix(log_level level, const ::std::string &message, | ||||
12 | const T &matrix) { | ||||
13 | LogImplementation::DoLogMatrix(level, message, TypeID<typename T::Scalar>::id, | ||||
14 | matrix.rows(), matrix.cols(), matrix.data()); | ||||
15 | } | ||||
16 | |||||
17 | } // namespace logging | ||||
18 | } // namespace aos |