module documentation

Library for configuring python logging to standard ROS locations (e.g. ROS_LOG_DIR).

Class RospyLogger No class docstring; 1/1 method documented
Class RosStreamHandler Undocumented
Exception LoggingException Undocumented
Function configure_logging Configure Python logging package to send log files to ROS-specific log directory :param logname str: name of logger, str :param filename: filename to log to. If not set, a log filename
Function makedirs_with_parent_perms Create the directory using the permissions of the nearest (existing) parent directory. This is useful for logging, where a root process sometimes has to log in the user's space. :param p: directory to create, ...
Function renew_latest_logdir Undocumented
Variable _color_reset Undocumented
Variable _defaultFormatter Undocumented
Variable _logging_to_rospy_names Undocumented
def configure_logging(logname, level=logging.INFO, filename=None, env=None):

Configure Python logging package to send log files to ROS-specific log directory :param logname str: name of logger, str :param filename: filename to log to. If not set, a log filename

will be generated using logname, str
Parameters
lognameUndocumented
levelUndocumented
filenameUndocumented
envoverride os.environ dictionary, dict
Returns
log file name, str
Raises
Unknown exceptionLoggingException If logging cannot be configured as specified
def makedirs_with_parent_perms(p):

Create the directory using the permissions of the nearest (existing) parent directory. This is useful for logging, where a root process sometimes has to log in the user's space. :param p: directory to create, str

def renew_latest_logdir(logfile_dir):

Undocumented

_color_reset: str =

Undocumented

_defaultFormatter =

Undocumented

_logging_to_rospy_names: dict =

Undocumented