Skip to content

Commit

Permalink
Add documentation of log levels
Browse files Browse the repository at this point in the history
Signed-off-by: Tully Foote <[email protected]>
  • Loading branch information
tfoote committed Apr 2, 2020
1 parent c8a34e3 commit c35564b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rcl_interfaces/msg/Log.msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
##
## Severity level constants
##
## These logging levels follow the Python Standard
## https://docs.python.org/3/library/logging.html#logging-levels
## And are implemented in rcutils as well
## https://github.com/ros2/rcutils/blob/35f29850064e0c33a4063cbc947ebbfeada11dba/include/rcutils/logging.h#L164-L172
## This leaves space for other logging levels to be inserted in the middle in the future.
## Since there are several other logging enumeration standard for different implementations.
## Other logging implementations may need to provide level translations to match their internal implementations.
##
byte DEBUG=10 #debug level
byte INFO=20 #general level
Expand Down

0 comments on commit c35564b

Please sign in to comment.