Skip to content

Commit 018fe20

Browse files
authored
Add documentation of log levels (#93)
* Add documentation of log levels Signed-off-by: Tully Foote <[email protected]>
1 parent 794bb9d commit 018fe20

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

rcl_interfaces/msg/Log.msg

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
##
22
## Severity level constants
3+
##
4+
## These logging levels follow the Python Standard
5+
## https://docs.python.org/3/library/logging.html#logging-levels
6+
## And are implemented in rcutils as well
7+
## https://github.com/ros2/rcutils/blob/35f29850064e0c33a4063cbc947ebbfeada11dba/include/rcutils/logging.h#L164-L172
8+
## This leaves space for other standard logging levels to be inserted in the middle in the future,
9+
## as well as custom user defined levels.
10+
## Since there are several other logging enumeration standard for different implementations,
11+
## other logging implementations may need to provide level mappings to match their internal implementations.
312
##
413

514
# Debug is for pedantic information, which is useful when debugging issues.

0 commit comments

Comments
 (0)