Updates for global severity threshold -> default severity threshold#130
Updates for global severity threshold -> default severity threshold#130
Conversation
| * \return severity | ||
| */ | ||
| static PyObject * | ||
| rclpy_logging_get_severity_threshold(PyObject * Py_UNUSED(self), PyObject * Py_UNUSED(args)) |
There was a problem hiding this comment.
Should the name of this function be changed accordingly?
There was a problem hiding this comment.
yes, there's a conceptual adaptation of the rclpy use of rcutils logging coming in another rclpy PR, but this PR is just the bare minimum to keep it compiling if ros2/rcutils#57 gets merged (so the PRs don't block each other)
| INFO = 20 | ||
| WARN = 30 | ||
| ERROR = 40 | ||
| FATAL = 50 |
There was a problem hiding this comment.
Should we actually get the values from rcutils/logging.h rather than redefining them here?
There was a problem hiding this comment.
yes, we should, eventually. in my mind that would be done by moving the values into the rcutils.logging python module so we can include them here, and empy template them into rcutils' logging.h. Since there's a lot going on in ros2/rcutils#57 already, I think it's best to put it off to a separate step
|
closed in favour of #132 |
…urce Added defaults to MD5SUM and DEFINITION
connects to ros2/rcutils#57
This is the minimum PR required to keep rclpy working with the changes in ros2/rcutils#57
It does not attempt to leverage any of the configuration of loggers (that'll be a separate PR)