create_logger#

OslLogger.create_logger(new_logger_name: str, level: str | None = None) Logger#

Create a logger for the Optislang instance.

Parameters:
new_logger_namestr

Name of the logger.

level: Optional[str], optional

Level of logging. The default is None, in which gase the global log level is set.

Returns:
logging.logger

Logger instance.