1 from configparser import ConfigParser
2 from logging import getLogger
3 from logging.config import fileConfig
4 from pathlib import Path
7 fileConfig((Path.cwd() / 'config') / 'logging.cfg')
12 def __init__(self, config_file):
14 Constructor of the MeteoFrance source of feature.
16 self._config = ConfigParser()
17 self._config.read(config_file)