7 namespace pointmatchersupport
12 py::class_<pms::NullLogger, std::shared_ptr<NullLogger>,
Logger>(p_module,
"NullLogger")
13 .def_static(
"description", &NullLogger::description)
18 py::class_<FileLogger, std::shared_ptr<FileLogger>,
Logger>(p_module,
"FileLogger")
19 .def_static(
"description", &FileLogger::description)
20 .def_static(
"availableParameters", &FileLogger::availableParameters)
22 .def_readonly(
"infoFileName", &FileLogger::infoFileName)
23 .def_readonly(
"warningFileName", &FileLogger::warningFileName)
24 .def_readonly(
"displayLocation", &FileLogger::displayLocation)
26 .def(py::init<const Parameters&>(), py::arg(
"params") =
Parameters())
28 .def(
"hasInfoChannel", &FileLogger::hasInfoChannel,
"Return whether this logger provides the info channel")
29 .def(
"beginInfoEntry", &FileLogger::beginInfoEntry, py::arg(
"file"), py::arg(
"line"), py::arg(
"func"),
"Start a new entry into the info channel")
31 .def(
"finishInfoEntry", &FileLogger::finishInfoEntry,
"Finish the entry into the info channel")
32 .def(
"hasWarningChannel", &FileLogger::hasWarningChannel,
"Return whether this logger provides the warning channel")
33 .def(
"beginWarningEntry", &FileLogger::beginWarningEntry,
"Start a new entry into the warning channel")
35 .def(
"finishWarningEntry", &FileLogger::finishWarningEntry,
"Finish the entry into the warning channel");