add_child_logger#

Logger.add_child_logger(sufix, level=None)[source]#

Add a child logger to the main logger.

This logger is more general than an instance logger which is designed to track the state of the MAPDL instances.

If the logging level is in the arguments, a new logger with a reference to the _global logger handlers is created instead of a child.

Parameters:
sufixstr

Name of the logger.

levelstr or int, optional

Level of logging

Returns:
logging.logger

Logger class.