old_contents: from __future__ import absolute_import
  
  import logging
  from dcard.dcard import Dcard  # noqa
  
  
  __version__ = '0.2.9'
  
  
  try:
      from logging import NullHandler
  except ImportError:
      class NullHandler(logging.Handler):
          def emit(self, record):
              pass
  
  logging.getLogger(__name__).addHandler(NullHandler())
  
  
  def add_handles_on_logger():
      logger = logging.getLogger(__name__)
      logger.setLevel(logging.DEBUG)
  
      fh = logging.FileHandler('dcard.log', encoding='utf8')
      ch = logging.StreamHandler()
      fh.setLevel(logging.DEBUG)
      ch.setLevel(logging.WARNING)
  
      fh_formatter = logging.Formatter(
          '%(asctime)s - %(name)s - %(levelname)s - %(message)s')
      ch_formatter = logging.Formatter(
          '%(asctime)s - %(message)s')
      fh.setFormatter(fh_formatter)
      ch.setFormatter(ch_formatter)
      logger.addHandler(fh)
      logger.addHandler(ch)
  
new_contents: from __future__ import absolute_import
  
  import logging
  from logging import NullHandler
  
  from dcard.dcard import Dcard  # noqa
  
  
  __version__ = '0.2.9'
  __author__ = 'Salas leVirve'
  
  
  logging.getLogger(__name__).addHandler(NullHandler())
  
  
  def add_handles_on_logger():
      logger = logging.getLogger(__name__)
      logger.setLevel(logging.DEBUG)
  
      fh = logging.FileHandler('dcard.log', encoding='utf8')
      ch = logging.StreamHandler()
      fh.setLevel(logging.DEBUG)
      ch.setLevel(logging.WARNING)
  
      fh_formatter = logging.Formatter(
          '%(asctime)s - %(name)s - %(levelname)s - %(message)s')
      ch_formatter = logging.Formatter(
          '%(asctime)s - %(message)s')
      fh.setFormatter(fh_formatter)
      ch.setFormatter(ch_formatter)
      logger.addHandler(fh)
      logger.addHandler(ch)
  
subject: update _init_ for settings