| 39 | namespace dart::python { |
| 40 | |
| 41 | void Logging(py::module& m) |
| 42 | { |
| 43 | m.def("trace", [](const std::string& log) { common::trace(log); }); |
| 44 | m.def("debug", [](const std::string& log) { common::debug(log); }); |
| 45 | m.def("info", [](const std::string& log) { common::info(log); }); |
| 46 | m.def("warn", [](const std::string& log) { common::warn(log); }); |
| 47 | m.def("error", [](const std::string& log) { common::error(log); }); |
| 48 | m.def("fatal", [](const std::string& log) { common::fatal(log); }); |
| 49 | } |
| 50 | |
| 51 | } // namespace dart::python |