old_contents: # encoding: utf-8
  
  """
  .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
  """
  
  from __future__ import absolute_import, unicode_literals
  
  import sqliteschema
  import tabledata
  
  from ._null_logger import NullLogger
  
  
  MODULE_NAME = "simplesqlite"
  
  
  try:
      from loguru import logger
  
      logger.disable(MODULE_NAME)
  except ImportError:
      logger = NullLogger()  # type: ignore
  
  
  def set_logger(is_enable, propagation_depth=1):
      if is_enable:
          logger.enable(MODULE_NAME)
      else:
          logger.disable(MODULE_NAME)
  
      if propagation_depth <= 0:
          return
  
      tabledata.set_logger(is_enable, propagation_depth - 1)
      sqliteschema.set_logger(is_enable, propagation_depth - 1)
  
      try:
          import pytablereader
  
          pytablereader.set_logger(is_enable, propagation_depth - 1)
      except (ImportError, TypeError):
          pass
  
  
  def set_log_level(log_level):
      # deprecated
      return
  
new_contents: # encoding: utf-8
  
  """
  .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
  """
  
  from __future__ import absolute_import, unicode_literals
  
  import sqliteschema
  import tabledata
  
  from ._null_logger import NullLogger
  
  
  MODULE_NAME = "simplesqlite"
  
  
  try:
      from loguru import logger
  
      logger.disable(MODULE_NAME)
  except ImportError:
      logger = NullLogger()  # type: ignore
  
  
  def set_logger(is_enable, propagation_depth=2):
      if is_enable:
          logger.enable(MODULE_NAME)
      else:
          logger.disable(MODULE_NAME)
  
      if propagation_depth <= 0:
          return
  
      tabledata.set_logger(is_enable, propagation_depth - 1)
      sqliteschema.set_logger(is_enable, propagation_depth - 1)
  
      try:
          import pytablereader
  
          pytablereader.set_logger(is_enable, propagation_depth - 1)
      except (ImportError, TypeError):
          pass
  
  
  def set_log_level(log_level):
      # deprecated
      return
  
subject: Modify propagation_depth