Module console
Wrapper for the ROS logging system
Functions
initialize () | Don't call this function directly. |
shutdown () | Shut down the console |
set_logger_level (name, level[, no_default_prefix=false]) | Set the log level for a given logger |
get_loggers () | Returns the list of all loggers |
get_logger (name[, no_default_prefix=false]) | Get a logger |
print (logger, level, text, file, function_name, line) | TODO: docu |
Functions
- initialize ()
- Don't call this function directly. Performs any required initialization/configuration. This function is called automatically during construction of the object.
- shutdown ()
- Shut down the console
- set_logger_level (name, level[, no_default_prefix=false])
-
Set the log level for a given logger
Parameters:
- name string Name of the logger
- level New log level
- no_default_prefix bool (default false)
- get_loggers ()
-
Returns the list of all loggers
Returns:
- std.StringVector Names of all loggers
- torch.ShortTensor Log level of the loggers
- get_logger (name[, no_default_prefix=false])
-
Get a logger
Parameters:
- name string Name of the logger
- no_default_prefix bool (default false)
Returns:
-
Pointer to the logger
- print (logger, level, text, file, function_name, line)
-
TODO: docu
Parameters:
- logger
- level
- text
- file
- function_name
- line