text: import logging
  from shared import config
  
  class Logger:
      def __init__(self) -> None:
          self.__config = _config = config.read()
          logging.basicConfig(filename=self.__config['LOGFILE'] , format='%(asctime)s %(levelname)s:%(message)s', datefmt='%m/%d/%Y %I:%M:%S %p', level=logging.DEBUG)
  
      def Info(self, info) -> None:
          print(info)
          logging.info(info)
  
      def Error(self, error) -> None:
          print(error)
          logging.error(error)
  
      def Debug(self, str) -> None :
          print(str)
          logging.debug(str)
  
      def Warning(self, warning) -> None:
          print(warning)
          logging.warning(warning)
  
  logger = Logger()