add_instance_logger#
- OslLogger.add_instance_logger(instance_name: str, osl_instance: Optislang, level: str | None = None) logging.Logger #
Add a logger for an Optislang instance.
- Parameters:
- instance_name
str
Name of the instance logger.
- osl_instance: Optislang
Optislang instance object. This object should contain the
name
attribute.- level: Optional[str], optional
Level of logging. Defaults to
None
.
- instance_name
- Returns:
logging.Logger
Logger instance.