Go to the documentation of this file.
5 namespace pointmatchersupport
9 py::class_<Logger, std::shared_ptr<Logger>,
Parametrizable>(p_module,
"Logger",
"The logger interface, used to output warnings and informations")
10 .def(py::init<>(),
"Construct without parameter")
11 .def(py::init<const std::string&, const ParametersDoc, const Parameters&>(), py::arg(
"className"), py::arg(
"paramsDoc"), py::arg(
"params"),
"Construct with parameters")
14 .def(
"beginInfoEntry", &
Logger::beginInfoEntry, py::arg(
"file"), py::arg(
"line"), py::arg(
"func"),
"Start a new entry into the info channel")
virtual void finishInfoEntry(const char *file, unsigned line, const char *func)
Finish the entry into the info channel.
virtual void beginInfoEntry(const char *file, unsigned line, const char *func)
Start a new entry into the info channel.
virtual bool hasWarningChannel() const
Return whether this logger provides the warning channel.
virtual bool hasInfoChannel() const
Return whether this logger provides the info channel.
virtual void beginWarningEntry(const char *file, unsigned line, const char *func)
Start a new entry into the warning channel.
The superclass of classes that are constructed using generic parameters. This class provides the para...
void pybindLogger(py::module &p_module)
virtual void finishWarningEntry(const char *file, unsigned line, const char *func)
Finish the entry into the warning channel.