biocypher._logger.get_logger
- biocypher._logger.get_logger(name: str = 'biocypher') Logger
Access the module logger, create a new one if does not exist yet.
Method providing central logger instance to main module. Is called only from main submodule,
biocypher.driver
. In child modules, the standard Python logging facility is called (usinglogging.getLogger(__name__)
), automatically inheriting the handlers from the central logger.The file handler creates a log file named after the current date and time. Levels to output to file and console can be set here.
- Parameters:
name – Name of the logger instance.
- Returns:
An instance of the Python
logging.Logger
.